]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit772c0b59acc9b18a4a4f5b2fa9602d40ae9045ee
tree8487417a6e938a1204a7e30cbc53fa2d274e6621
parentefb1a7cdbcdef813cae594050d6eecea214198b8
ip_fragment: fix subtracting PPPOE_SES_HLEN from mtu twice

99fc4492458939caecb31107453d5c385603497b 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