]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
IPV6: Restore IPv6 when MTU is big enough
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>
Tue, 11 Dec 2007 01:39:34 +0000 (09:39 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Dec 2007 18:31:59 +0000 (10:31 -0800)
commitcd133a40af7a3607727f58d48e0654ce99e00868
tree8016c1081babfe52b2dd9ed5726b98a1116727ec
parent814ab8e6fabc63525f005bc9791cd483f14e9ebc
IPV6: Restore IPv6 when MTU is big enough

[IPV6]: Restore IPv6 when MTU is big enough

[ Upstream commit: d31c7b8fa303eb81311f27b80595b8d2cbeef950 ]

Avaid provided test application, so bug got fixed.

IPv6 addrconf removes ipv6 inner device from netdev each time cmu
changes and new value is less than IPV6_MIN_MTU (1280 bytes).
When mtu is changed and new value is greater than IPV6_MIN_MTU,
it does not add ipv6 addresses and inner device bac.

This patch fixes that.

Tested with Avaid's application, which works ok now.

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv6/addrconf.c