Home
last modified time | relevance | path

Searched hist:eedf042a63ffef050ebc015de19b52dc065e830b (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ipv6/
H A Daddrconf.cdiff eedf042a63ffef050ebc015de19b52dc065e830b Tue May 18 00:27:12 CDT 2010 Stephen Hemminger <shemminger@vyatta.com> ipv6: fix the bug of address check

The duplicate address check code got broken in the conversion
to hlist (2.6.35). The earlier patch did not fix the case where
two addresses match same hash value. Use two exit paths,
rather than depending on state of loop variables (from macro).

Based on earlier fix by Shan Wei.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Reviewed-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>