[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101026.104710.232747902.davem@davemloft.net>
Date: Tue, 26 Oct 2010 10:47:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lorenzo@...gle.com
Cc: brian.haley@...com, shemminger@...tta.com, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv6: addrconf: clear IPv6 addresses and routes when
losing link
From: Lorenzo Colitti <lorenzo@...gle.com>
Date: Tue, 26 Oct 2010 10:37:53 -0700
> So when the link comes back, we'd have to wait for all RAs to come in
> (there could be multiple routers on a link, each announcing different
> prefixes), and when this is all done, compare the list of addresses to
> the prefixes that are currently on the link and delete the ones that
> don't match. We'd have to do the same with default routers and /64
> routes to all the link prefixes.
Why would you do this when there are link layer indications that
we are attached to a different network?
The only thing missing is a new device notification type, some code to
generate it in the wireless subsystem, and an ipv6 handler to zap the
addresses when received.
Please think out of the box for a second, thanks :-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists