commit | 8db09f26f912f7c90c764806e804b558da520d4f | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Fri Mar 13 16:04:12 2009 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 13 16:04:12 2009 -0700 |
tree | a02b562f75c862306aebbfa207bcdb1657a87bd9 | |
parent | 73ce7b01b4496a5fbf9caf63033c874be692333f [diff] |
x25: '< 0' and '>= 0' test on unsigned 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>