tcp: fix ssthresh u16 leftover
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Tue, 15 Sep 2009 08:30:10 +0000 (01:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2009 08:30:10 +0000 (01:30 -0700)
commit0b6a05c1dbebe8c616e2e5b0f52b7a01fd792911
tree18b5a2d16ac3fa8dd6d4528469725c216aed428c
parent036d6a673fa0a2e2c5b72a3b1d1b86114c1711c0
tcp: fix ssthresh u16 leftover

It was once upon time so that snd_sthresh was a 16-bit quantity.
...That has not been true for long period of time. I run across
some ancient compares which still seem to trust such legacy.
Put all that magic into a single place, I hopefully found all
of them.

Compile tested, though linking of allyesconfig is ridiculous
nowadays it seems.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp.c
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_minisocks.c
net/ipv6/tcp_ipv6.c