netfilter: bridge: remove BRNF_STATE_BRIDGED flag
authorFlorian Westphal <fw@strlen.de>
Tue, 10 Mar 2015 09:36:48 +0000 (10:36 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 16 Mar 2015 13:35:02 +0000 (14:35 +0100)
commite4bb9bcbfb7d67431dfd49860f62770a7f40193b
tree245ca142e52b517ffd80061be80d16f01cee9335
parentc055d5b03bb4cb69d349d787c9787c0383abd8b2
netfilter: bridge: remove BRNF_STATE_BRIDGED flag

Its not needed anymore since 2bf540b73ed5b
([NETFILTER]: bridge-netfilter: remove deferred hooks).
Before this it was possible to have physoutdev set for locally generated
packets -- this isn't the case anymore:

BRNF_STATE_BRIDGED flag is set when we assign nf_bridge->physoutdev,
so physoutdev != NULL means BRNF_STATE_BRIDGED is set.
If physoutdev is NULL, then we are looking at locally-delivered and
routed packet.

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