From: Yuchung Cheng Date: Fri, 22 Feb 2013 08:59:06 +0000 (+0000) Subject: tcp: fix SYN-data space mis-accounting X-Git-Tag: v3.9-rc1~70^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b63edd6ecc55c3a61b40297b49e2323783bddfd;p=pandora-kernel.git 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 Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed