cls_u32: signedness bug
authorDan Carpenter <error27@gmail.com>
Mon, 4 Oct 2010 02:28:36 +0000 (02:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Oct 2010 07:40:39 +0000 (00:40 -0700)
skb_headroom() is unsigned so "skb_headroom(skb) + toff" is also
unsigned and can't be less than zero.  This test was added in 66d50d25:
"u32: negative offset fix"  It was supposed to fix a regression.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found