[IPV6]: Don't update ADVMSS on routes where the MTU is not also updated
authorSimon Arlott <simon@fire.lp0.eu>
Thu, 26 Jul 2007 07:09:55 +0000 (00:09 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 31 Jul 2007 09:28:04 +0000 (02:28 -0700)
commit566cfd8f0e049a0647f94714f913e2a975dc464f
tree955049995c9cc06dc2db3b11a73454c09cf8eb18
parent342ff7b24f42d01b27d884c699855c713d720fcb
[IPV6]: Don't update ADVMSS on routes where the MTU is not also updated

The ADVMSS value was incorrectly updated for ALL routes when the MTU
is updated because it's outside the effect of the if statement's
condition.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c