netfilter: bridge: reduce nf_bridge_info to 32 bytes again
commit72b1e5e4cac72efa6b739b47e41f53e4520b4194
authorFlorian Westphal <fw@strlen.de>
Thu, 23 Jul 2015 14:21:30 +0000 (23 16:21 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 30 Jul 2015 11:37:42 +0000 (30 13:37 +0200)
treebb0bc144905b1e5f83ffae53de5590f07283af9f
parentd7ee3519042798be6224e97f259ed47a63da4620
netfilter: bridge: reduce nf_bridge_info to 32 bytes again

We can use union for most of the temporary cruft (original ipv4/ipv6
address, source mac, physoutdev) since they're used during different
stages of br netfilter traversal.

Also get rid of the last two ->mask users.

Shrinks struct from 48 to 32 on 64bit arch.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter_bridge.h
include/linux/skbuff.h
net/bridge/br_netfilter_hooks.c
net/bridge/br_netfilter_ipv6.c
net/ipv4/netfilter/nf_defrag_ipv4.c
net/ipv6/netfilter/nf_defrag_ipv6_hooks.c