]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit31580e6b8ea82a15b485e79a015c3fc191ff8a38
treeaf047a48360169e900550a86031ad1ad5f24eb65
parent3fe9f6afa63fc595b4677f65107d23d3d90bdeab
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