From: Yuchung Cheng Date: Thu, 24 Oct 2013 15:44:25 +0000 (-0700) Subject: tcp: fix SYNACK RTT estimation in Fast Open X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~67^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc15afa39ecc16f01c3389d15d8f6015a427fe85;p=pandora-kernel.git tcp: fix SYNACK RTT estimation in Fast Open tp->lsndtime may not always be the SYNACK timestamp if a passive Fast Open socket sends data before handshake completes. And if the remote acknowledges both the data and the SYNACK, the RTT sample is already taken in tcp_ack(), so no need to call tcp_update_ack_rtt() in tcp_synack_rtt_meas() aagain. Signed-off-by: Yuchung Cheng Acked-by: Neal Cardwell Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed