ip_fragment: fix subtracting PPPOE_SES_HLEN from mtu twice
authorChangli Gao <xiaosuo@gmail.com>
Sat, 31 Jul 2010 13:25:08 +0000 (13:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Aug 2010 00:25:07 +0000 (17:25 -0700)
commitc893b8066c7bf6156e4d760e5acaf4c148e37190
tree8487417a6e938a1204a7e30cbc53fa2d274e6621
parent3c0fef0b7d36e5f8d3ea3731a8228102274e3c23
ip_fragment: fix subtracting PPPOE_SES_HLEN from mtu twice

6c79bf0f2440fd250c8fce8d9b82fcf03d4e8350 subtracts PPPOE_SES_HLEN from mtu at
the front of ip_fragment(). So the later subtraction should be removed. The
MTU of 802.1q is also 1500, so MTU should not be changed.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Bart De Schuymer <bdschuym@pandora.bo>
----
 net/ipv4/ip_output.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
Signed-off-by: Bart De Schuymer <bdschuym@pandora.bo>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c