Re: [PATCH] ipv6: addrconf: clear IPv6 addresses and routes when losing link

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Brian Haley
Date: Tuesday, October 26, 2010 - 9:58 am

On 10/26/2010 01:44 AM, Lorenzo Colitti wrote:

The old addresses will become deprecated, and eventually get removed, but
it will take 2 hours.


I posted a very similar patch recently:

http://marc.info/?l=linux-netdev&m=128415231909522&w=2

But the first response pointed out that I didn't test this with just a
simple link flap, in which case all the IPv6 addresses are deleted,
and all sessions using them die.  Not good.  This changes the current
behavior, and isn't what happens with IPv4 either.

Having these addresses restart DAD is probably about as much as we
can do I think, unless we add a per-device sysctl to remove the addresses
(which I think has been shot-down before).  Is this a mobile device that
is actually changing it's point of attachment?

-Brian
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] ipv6: addrconf: clear IPv6 addresses and route ..., Stephen Hemminger, (Mon Oct 25, 9:38 pm)
Re: [PATCH] ipv6: addrconf: clear IPv6 addresses and route ..., Stephen Hemminger, (Tue Oct 26, 8:28 am)
Re: [PATCH] ipv6: addrconf: clear IPv6 addresses and route ..., Brian Haley, (Tue Oct 26, 9:58 am)
Re: [PATCH] ipv6: addrconf: clear IPv6 addresses and route ..., Maciej Żenczykowski, (Wed Oct 27, 1:35 am)
Re: [PATCH] ipv6: addrconf: clear IPv6 addresses and route ..., Maciej Żenczykowski, (Wed Oct 27, 1:39 pm)
Re: [PATCH] ipv6: addrconf: clear IPv6 addresses and route ..., Maciej Żenczykowski, (Thu Oct 28, 3:50 pm)