From: Neal Cardwell Date: Fri, 6 Feb 2015 21:04:41 +0000 (-0500) Subject: tcp: mitigate ACK loops for connections as tcp_timewait_sock X-Git-Tag: fixes-v4.0-rc1~150^2~20^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fb17a6091674f469e8ac85dc770fbf9a9ba7cc8;p=pandora-kernel.git tcp: mitigate ACK loops for connections as tcp_timewait_sock Ensure that in state FIN_WAIT2 or TIME_WAIT, where the connection is represented by a tcp_timewait_sock, we rate limit dupacks in response to incoming packets (a) with TCP timestamps that fail PAWS checks, or (b) with sequence numbers that are out of the acceptable window. We do not send a dupack in response to out-of-window packets if it has been less than sysctl_tcp_invalid_ratelimit (default 500ms) since we last sent a dupack in response to an out-of-window packet. Reported-by: Avery Fay Signed-off-by: Neal Cardwell Signed-off-by: Yuchung Cheng Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed