diff options
author | Yuchung Cheng <ycheng@google.com> | 2013-02-22 08:59:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-22 15:10:19 -0500 |
commit | 1b63edd6ecc55c3a61b40297b49e2323783bddfd (patch) | |
tree | 6572656aae76924fe38380e3edb650dd5965ef26 /net/llc | |
parent | cbda4eaffa2da9cefb89dd748803da689596d28b (diff) | |
download | op-kernel-dev-1b63edd6ecc55c3a61b40297b49e2323783bddfd.zip op-kernel-dev-1b63edd6ecc55c3a61b40297b49e2323783bddfd.tar.gz |
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/llc')
0 files changed, 0 insertions, 0 deletions