]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP]: Convert several length variable to unsigned.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Sat, 12 Jan 2008 10:16:03 +0000 (02:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:59:56 +0000 (14:59 -0800)
commitbaba26be0ba46939f987ef53262ae97309e3c358
treea8a098affaa86890b49ce7d52dc365d34213e188
parentf89f056ce2ec784708f8f6f12df783337b1fd3b1
[TCP]: Convert several length variable to unsigned.

Several length variables cannot be negative, so convert int to
unsigned int.  This also allows us to do sane shift operations
on those variables.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c