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:
73ce7b0
)
x25: '< 0' and '>= 0' test on unsigned
author
Roel Kluin
<roel.kluin@gmail.com>
Fri, 13 Mar 2009 23:04:12 +0000
(16:04 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 13 Mar 2009 23:04:12 +0000
(16:04 -0700)
skb->len is an unsigned int, so the test in x25_rx_call_request() always
evaluates to true.
len in x25_sendmsg() is unsigned as well. so -ERRORS returned by x25_output()
are not noticed.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found