]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: move tee_active to core
authorFlorian Westphal <fw@strlen.de>
Tue, 14 Jul 2015 15:51:07 +0000 (17:51 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 15 Jul 2015 16:18:05 +0000 (18:18 +0200)
commitb85062f4c7300ad6cb2e30a35160703a5d2c09b2
tree69361fc86865dd5aae94836f3af466711cf67494
parent9dfdb419446a9c1eed042a8a1a366de614d5d343
netfilter: move tee_active to core

This prepares for a TEE like expression in nftables.
We want to ensure only one duplicate is sent, so both will
use the same percpu variable to detect duplication.

The other use case is detection of recursive call to xtables, but since
we don't want dependency from nft to xtables core its put into core.c
instead of the x_tables core.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter.h
net/netfilter/core.c
net/netfilter/xt_TEE.c