netfilter: bridge: query conntrack about skb dnat
authorFlorian Westphal <fw@strlen.de>
Tue, 10 Mar 2015 04:08:19 +0000 (05:08 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 16 Mar 2015 13:34:34 +0000 (14:34 +0100)
commitc055d5b03bb4cb69d349d787c9787c0383abd8b2
tree92cd93d6fc0c8f0cad4e43afafe880e594124536
parent169bf9121b19dd6029e0a354d33513f61bfbe3d3
netfilter: bridge: query conntrack about skb dnat

ask conntrack instead of storing ipv4 address in nf_bridge_info->data.

Ths avoids the need to use ->data during NF_PRE_ROUTING.
Only two functions that need ->data remain.

These will be addressed in followup patches.

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