Skip to content
Commit c893b806 authored by Changli Gao's avatar Changli Gao Committed by David S. Miller
Browse files

ip_fragment: fix subtracting PPPOE_SES_HLEN from mtu twice



6c79bf0f 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: default avatarChangli Gao <xiaosuo@gmail.com>
Signed-off-by: default avatarBart De Schuymer <bdschuym@pandora.bo>
----
 net/ipv4/ip_output.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
Signed-off-by: default avatarBart De Schuymer <bdschuym@pandora.bo>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3c0fef0b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment