git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2db756
)
ipv6: Fix bug in ipv6_chk_same_addr().
author
David S. Miller
<davem@davemloft.net>
Sat, 20 Mar 2010 23:18:00 +0000
(16:18 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 20 Mar 2010 23:18:00 +0000
(16:18 -0700)
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>
No differences found