commit | eedf042a63ffef050ebc015de19b52dc065e830b | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@vyatta.com> | Mon May 17 22:27:12 2010 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon May 17 22:27:12 2010 -0700 |
tree | fe8a31b4ca2e36de74ce8c6b4ee66ac66deac6da | |
parent | 820ae8a80eb59962aefbbd4908dfe144ec0f9edb [diff] |
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>