From 84275e96559ced02d456cb8b034237d5782b9693 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 26 Sep 2017 12:30:40 -0400 Subject: tcp: update snd_nxt after congestion recovery Change-Id: I2cf4c4850b9c3c093a7dce0cec89b9f710f69393 Signed-off-by: Florin Coras --- src/vnet/tcp/tcp_input.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vnet/tcp/tcp_input.c') diff --git a/src/vnet/tcp/tcp_input.c b/src/vnet/tcp/tcp_input.c index 0a36d063..62dcdc5e 100644 --- a/src/vnet/tcp/tcp_input.c +++ b/src/vnet/tcp/tcp_input.c @@ -937,6 +937,7 @@ tcp_cc_recovery_exit (tcp_connection_t * tc) tc->rto_boff = 0; tcp_update_rto (tc); tc->snd_rxt_ts = 0; + tc->snd_nxt = tc->snd_una_max; tcp_recovery_off (tc); TCP_EVT_DBG (TCP_EVT_CC_EVT, tc, 3); } @@ -947,6 +948,7 @@ tcp_cc_fastrecovery_exit (tcp_connection_t * tc) tc->cc_algo->recovered (tc); tc->snd_rxt_bytes = 0; tc->rcv_dupacks = 0; + tc->snd_nxt = tc->snd_una_max; tcp_fastrecovery_off (tc); tcp_fastrecovery_1_smss_off (tc); TCP_EVT_DBG (TCP_EVT_CC_EVT, tc, 3); -- cgit 1.2.3-korg