aboutsummaryrefslogtreecommitdiff
path: root/net/sctp
diff options
context:
space:
mode:
authorYuchung Cheng <ycheng@google.com>2013-02-22 08:59:06 +0000
committerDavid S. Miller <davem@davemloft.net>2013-02-22 15:10:19 -0500
commit1b63edd6ecc55c3a61b40297b49e2323783bddfd (patch)
tree6572656aae76924fe38380e3edb650dd5965ef26 /net/sctp
parentcbda4eaffa2da9cefb89dd748803da689596d28b (diff)
tcp: fix SYN-data space mis-accounting
In fast open the sender unncessarily reduces the space available for data in SYN by 12 bytes. This is because in the sender incorrectly reserves space for TS option twice in tcp_send_syn_data(): tcp_mtu_to_mss() already accounts for TS option space. But it further reserves MAX_TCP_OPTION_SPACE when computing the payload space. Signed-off-by: Yuchung Cheng <ycheng@google.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions