David S. Miller 3e81c6da39 ipv6: Fix bug in ipv6_chk_same_addr().
hlist_for_each_entry(p...) will not necessarily initialize 'p'
to anything if the hlist is empty.  GCC notices this and emits
a warning.

Just return true explicitly when we hit a match, and return
false is we fall out of the loop without one.

Signed-off-by: David S. Miller <davem@davemloft.net>
2010-03-20 16:18:00 -07:00
..
2008-10-29 12:52:50 -07:00
2010-02-22 16:20:22 -08:00
2010-01-17 19:16:02 -08:00
2010-02-22 16:20:22 -08:00
2009-10-20 18:55:45 -07:00
2010-02-22 16:20:22 -08:00
2009-10-07 14:50:30 -07:00
2010-02-17 18:48:44 -08:00
2009-06-03 02:51:04 -07:00
2009-09-14 17:03:05 -07:00
2010-01-17 19:16:02 -08:00
2010-03-05 13:34:03 -08:00
2010-01-17 19:16:02 -08:00
2009-06-03 02:51:04 -07:00
2010-03-03 01:04:37 -08:00