From e5b17918e78c974b43fe41300d2f5d817e89c30b Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Thu, 21 Feb 2019 16:46:24 -0800 Subject: tcp: send enough dupacks to cover all sack holes Make sure we send enough dupacks to cover all the holes created in the last frame received. Also make sure we send all the blocks, not just the first. Change-Id: I9597a34ac14473d1cc3ad07d65bc37043e3d0582 Signed-off-by: Florin Coras --- src/vnet/tcp/tcp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet/tcp/tcp.h') diff --git a/src/vnet/tcp/tcp.h b/src/vnet/tcp/tcp.h index d1fbf156ed5..a4e7935dfe4 100644 --- a/src/vnet/tcp/tcp.h +++ b/src/vnet/tcp/tcp.h @@ -303,6 +303,7 @@ typedef struct _tcp_connection tcp_options_t rcv_opts; /**< Rx options for connection */ sack_block_t *snd_sacks; /**< Vector of SACKs to send. XXX Fixed size? */ + u8 snd_sack_pos; /**< Position in vec of first block to send */ sack_scoreboard_t sack_sb; /**< SACK "scoreboard" that tracks holes */ u16 rcv_dupacks; /**< Number of DUPACKs received */ -- cgit 1.2.3-korg