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>
Showing
- include/net/tcp.h 7 additions, 0 deletionsinclude/net/tcp.h
- net/ipv4/tcp.c 1 addition, 1 deletionnet/ipv4/tcp.c
- net/ipv4/tcp_input.c 1 addition, 1 deletionnet/ipv4/tcp_input.c
- net/ipv4/tcp_ipv4.c 2 additions, 2 deletionsnet/ipv4/tcp_ipv4.c
- net/ipv4/tcp_minisocks.c 1 addition, 1 deletionnet/ipv4/tcp_minisocks.c
- net/ipv6/tcp_ipv6.c 3 additions, 2 deletionsnet/ipv6/tcp_ipv6.c
Loading
Please register or sign in to comment