Re: The mystery of optimistic ipv6 DAD handling
From: Neil Horman <nhorman@tuxdriver.com>
Date: 2011-12-29 00:00:48
From: Neil Horman <nhorman@tuxdriver.com>
Date: 2011-12-29 00:00:48
On Wed, Dec 28, 2011 at 02:38:12PM -0500, David Miller wrote:
From: Neil Horman <nhorman@tuxdriver.com> Date: Wed, 28 Dec 2011 14:21:50 -0500quoted
Clearly I misread the RFC the first time through and the test as it existed is incorrect. I'm wondering though if what we need is a way to lookup if we've received a RA on the interface, and check to see if it has a source link layer option attached to it.Yes, we could implement this with a new neigh lookup routine, that allows keying on device pointer and flags. So in this case we'd pass the device and NTF_ROUTER. If the lookup returns non-NULL then we've seen an RA with SLLAO specified.
Agreed. If its ok with you I'll start working on that in a few days, once we get through the holidays here. Happy New Year! Best Neil