[PATCH] zcip: fix link-local IP conflict detection

Denys Vlasenko vda.linux at googlemail.com
Sun Jul 20 12:02:48 UTC 2014


On Thu, Jul 17, 2014 at 6:34 PM, Ben Shelton <ben.shelton at ni.com> wrote:
> From: Ken Sharp <ken.sharp at ni.com>
>
> During link-local IP resolution, if a regular ARP request is received
> during the ARP probe period, it will incorrectly cause a target IP
> conflict.  This then leads to a new IP being picked unnecessarily.
>
> Per RFC 3927, section 2.2.1, we should flag a target IP conflict only if
> the source IP is null, the target IP matches our IP, and the source
> hw addr does not match our hw addr.
>
> Signed-off-by: Ken Sharp <ken.sharp at ni.com>
> Signed-off-by: Ben Shelton <ben.shelton at ni.com>
> ---
>
> Note that we reproduced the issue and tested the fix on an ARM A9-based
> board as follows:
>
> - Connect two machines via a crossover cable or on a network with no DHCP
>   server available.
> - Continuously ping the machine running busybox from the other
> - Reboot the busybox machine (the one being pinged)
> - When the busybox machine comes back up it will have a different IP
>   address because of the incorrect target IP conflict
>


Applied, thanks!


More information about the busybox mailing list