]> git.kernelconcepts.de Git - karo-tx-linux.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)
commite7c8899f3e6f2830136cf6e115c4a55ce7a3920a
tree69361fc86865dd5aae94836f3af466711cf67494
parent98d1bd802cdbc8f56868fae51edec13e86b59515
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