netfilter: nft_exthdr: Allow checking TCP option presence, too
authorPhil Sutter <phil@nwl.cc>
Mon, 20 Feb 2017 16:52:27 +0000 (17:52 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 Mar 2017 16:52:56 +0000 (17:52 +0100)
commit3c1fece8819ed25257461b71e7c75a1f33eaa61d
tree402661ad234dfb079d3ca61e66e2bd18bad1e167
parent8d70eeb84ab277377c017af6a21d0a337025dede
netfilter: nft_exthdr: Allow checking TCP option presence, too

Honor NFT_EXTHDR_F_PRESENT flag so we check if the TCP option is
present.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_exthdr.c