]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_ct: add notrack support
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 20 Oct 2016 16:07:14 +0000 (18:07 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 26 Oct 2016 14:35:16 +0000 (16:35 +0200)
commitf0743bef532f2b71f4a66c8b9c56d91446bfabe0
tree1a9b220086627aca4f3bbbb67080182d7af20564
parent4b5e31bb14f3ed91fbf99eced8cc242947b0f754
netfilter: nft_ct: add notrack support

This patch adds notrack support.

I decided to add a new expression, given that this doesn't fit into the
existing set operation. Notrack doesn't need a source register, and an
hypothetical NFT_CT_NOTRACK key makes no sense since matching the
untracked state is done through NFT_CT_STATE.

I'm placing this new notrack expression into nft_ct.c, I think a single
module is too much.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_ct.c