netfilter: bridge: free nf_bridge info on xmit
authorFlorian Westphal <fw@strlen.de>
Sun, 3 May 2015 20:06:07 +0000 (22:06 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 14 May 2015 10:43:49 +0000 (12:43 +0200)
commita9fcc6a41de947108898bc9807f25fa326467365
treeaf047a48360169e900550a86031ad1ad5f24eb65
parent7fb48c5bc3100f7674a8e26f42c1518196500728
netfilter: bridge: free nf_bridge info on xmit

nf_bridge information is only needed for -m physdev, so we can always free
it after POST_ROUTING.  This has the advantage that allocation and free will
typically happen on the same cpu.

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