From c95eefb393d05167ce6e35e5617179f536de0bda Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Wed, 8 Jan 2020 22:01:54 +0000 Subject: tcp: handle ack advancement with no holes and reneging Type: fix Signed-off-by: Florin Coras Change-Id: I9afba8dc9e087b8c436fe568531c02614a577a7c --- src/vnet/tcp/tcp_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/tcp') diff --git a/src/vnet/tcp/tcp_input.c b/src/vnet/tcp/tcp_input.c index 080d8a99bc4..cb5020d118e 100755 --- a/src/vnet/tcp/tcp_input.c +++ b/src/vnet/tcp/tcp_input.c @@ -990,7 +990,7 @@ tcp_rcv_sacks (tcp_connection_t * tc, u32 ack) sb->last_bytes_delivered = 0; sb->rxt_sacked = 0; - if (!tcp_opts_sack (&tc->rcv_opts) + if (!tcp_opts_sack (&tc->rcv_opts) && !sb->sacked_bytes && sb->head == TCP_INVALID_SACK_HOLE_INDEX) return; -- cgit 1.2.3-korg