]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NET]: Make second arg to skb_reserved() signed.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 17 Jan 2006 10:54:21 +0000 (02:54 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 17 Jan 2006 10:54:21 +0000 (02:54 -0800)
commit8243126c5e29030bf1a3fb75187a513966dcba62
tree39750d44770efcdac150f041f71b7272c8da20f9
parentf09484ff87f677056ce631aa3d8e486861501b51
[NET]: Make second arg to skb_reserved() signed.

Some subsystems, such as PPP, can send negative values
here.  It just happened to work correctly on 32-bit with
an unsigned value, but on 64-bit this explodes.

Figured out by Paul Mackerras based upon several PPP crash
reports.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h