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)
commit33b1f31392861947fa2a2a57c3a39ab63b8c9f9d
treec9fc6aaa8a1e64e1e884b55d425d45254fef1c1f
parentefb6de9b4ba0092b2c55f6a52d16294a8a698edd
net: ip_fragment: remove BRIDGE_NETFILTER mtu special handling

since commit d6b915e29f4adea9
("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
This page took 0.025804 seconds and 5 git commands to generate.