]> git.baikalelectronics.ru Git - kernel.git/commit
net: ip_fragment: remove BRIDGE_NETFILTER mtu special handling
authorFlorian Westphal <fw@strlen.de>
Fri, 5 Jun 2015 11:28:38 +0000 (13:28 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 12 Jun 2015 12:16:46 +0000 (14:16 +0200)
commit32e1dea7b47a0acedb4798b5e41cdc6768aeb7a7
treec9fc6aaa8a1e64e1e884b55d425d45254fef1c1f
parent6a3dde6914924b704d74311f6a3b16ad73b136ee
net: ip_fragment: remove BRIDGE_NETFILTER mtu special handling

since commit a7cad04cecc98cf7
("ip_fragment: don't forward defragmented DF packet") the largest
fragment size is available in the IPCB.

Therefore we no longer need to care about 'encapsulation'
overhead of stripped PPPOE/VLAN headers since ip_do_fragment
doesn't use device mtu in such cases.

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