]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Treat the sign of the result of skb_headroom() consistently
authorChuck Lever <chuck.lever@oracle.com>
Wed, 24 Oct 2007 04:07:32 +0000 (21:07 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 24 Oct 2007 04:27:55 +0000 (21:27 -0700)
commit1a2427176516fb508d1a664d9af71a9396e5f2c5
tree4db39ee9b93871385d72e776bec2e640166e3b34
parentc1cb8eea329fd86de29dc815dc2862aa938ac21c
[NET]: Treat the sign of the result of skb_headroom() consistently

In some places, the result of skb_headroom() is compared to an unsigned
integer, and in others, the result is compared to a signed integer.  Make
the comparisons consistent and correct.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/ipv4/ip_gre.c
net/ipv4/ip_output.c
net/ipv4/ipip.c
net/ipv4/ipvs/ip_vs_xmit.c
net/ipv4/tcp_input.c
net/ipv6/ip6_output.c
net/ipv6/ip6_tunnel.c
net/ipv6/sit.c