summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-12-08 14:14:12 -0500
committerDavid S. Miller <davem@davemloft.net>2017-12-08 14:14:12 -0500
commitb7e445a1c8f4fb056a94dcb6accbc590aec69d19 (patch)
tree39472b7c1cc30a0ce316278fc8854101245b97b7 /net/ipv4/tcp_input.c
parent2edbdb3159d6f6bd3a9b6e7f789f2b879699a519 (diff)
parent6065fd0d179b96ddc488c76542349bcb148a95fd (diff)
Merge branch 'tcp-RACK-loss-recovery-bug-fixes'
Yuchung Cheng says: ==================== tcp: RACK loss recovery bug fixes This patch set has four minor bug fixes in TCP RACK loss recovery. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 075c559570e6..9550cc42de2d 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -2329,6 +2329,7 @@ static void tcp_undo_cwnd_reduction(struct sock *sk, bool unmark_loss)
}
tp->snd_cwnd_stamp = tcp_jiffies32;
tp->undo_marker = 0;
+ tp->rack.advanced = 1; /* Force RACK to re-exam losses */
}
static inline bool tcp_may_undo(const struct tcp_sock *tp)