net: TCP_MSS_DEFAULT, TCP_MSS_DESIRED
authorWilliam Allen Simpson <william.allen.simpson@gmail.com>
Tue, 10 Nov 2009 09:51:18 +0000 (09:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Nov 2009 04:38:48 +0000 (20:38 -0800)
commitbee7ca9ec03a26676ea2b1c28dc4039348eff3e1
tree652832d73252d7c9ede928a4242763f570070b0e
parentcbbef5e183079455763fc470ccf69008f92ab4b6
net: TCP_MSS_DEFAULT, TCP_MSS_DESIRED

Define two symbols needed in both kernel and user space.

Remove old (somewhat incorrect) kernel variant that wasn't used in
most cases.  Default should apply to both RMSS and SMSS (RFC2581).

Replace numeric constants with defined symbols.

Stand-alone patch, originally developed for TCPCT.

Signed-off-by: William.Allen.Simpson@gmail.com
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/tcp.h
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_minisocks.c
net/ipv6/tcp_ipv6.c