]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv6/addrconf.c
[IPV6]: Restore IPv6 when MTU is big enough
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>
Fri, 30 Nov 2007 12:36:08 +0000 (23:36 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Nov 2007 12:36:08 +0000 (23:36 +1100)
commitd31c7b8fa303eb81311f27b80595b8d2cbeef950
tree171cfad23d2ee23f68c0ed89f4a1f70c0ed0db96
parentd5a784b3719ae364f49ecff12a0248f6e4252720
[IPV6]: Restore IPv6 when MTU is big enough

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>
net/ipv6/addrconf.c