]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: bridge: kill nf_bridge_pad
authorFlorian Westphal <fw@strlen.de>
Wed, 18 Mar 2015 19:55:31 +0000 (20:55 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 22 Mar 2015 18:45:55 +0000 (19:45 +0100)
commitffb5152fe31d35fcac3ceb3d5f0a04004d0d559e
tree22e8caef37b59bbc0600e2a7dea95a733d4f385e
parent45a49322a7558b697aef19974c9cec15531b12aa
netfilter: bridge: kill nf_bridge_pad

The br_netfilter frag output function calls skb_cow_head() so in
case it needs a larger headroom to e.g. re-add a previously stripped PPPOE
or VLAN header things will still work (at cost of reallocation).

We can then move nf_bridge_encap_header_len to br_netfilter.

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/ipv4/ip_output.c