]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netfilter: move tee_active to core
authorFlorian Westphal <fw@strlen.de>
Tue, 14 Jul 2015 15:51:07 +0000 (17:51 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 28 May 2017 02:44:17 +0000 (19:44 -0700)
commit4acb1b4d5736a527e6a1ebcd910e63245e436ad1
tree5d148c93eec1244a564280b78d31564c71bbc488
parent2c953266085f86bbe906309a97bd24e1f1b80610
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>
(cherry picked from commit e7c8899f3e6f2830136cf6e115c4a55ce7a3920a)

Orabug: 24694570

Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
Reviewed-by: Dhaval Giani <dhaval.giani@oracle.com>
include/linux/netfilter.h
net/netfilter/core.c
net/netfilter/xt_TEE.c