]> 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)
commit527cd6acea4f11d3c88bf1ae1d845fe4b3c46a30
treec9fc6aaa8a1e64e1e884b55d425d45254fef1c1f
parent46d1316b8c02724d2ecc1379ed6914b28959315d
net: ip_fragment: remove BRIDGE_NETFILTER mtu special handling

since commit 75bd70d6c968fd3f
("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