diff options
author | Florin Coras <fcoras@cisco.com> | 2020-01-08 18:49:59 +0000 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2020-08-12 15:24:14 +0000 |
commit | 9568a58ee571b53ed98105a4cd1350cb52a4de65 (patch) | |
tree | a81b16b01e8ad6d88a8b48d2f8f172105645907b /src | |
parent | 40f1beaae3efbd3c66c9202efa0633bcca51bd7c (diff) |
tcp: fix scoreboard assert
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I3c70b331932708a1b773392e089aed9dba9b3b31
(cherry picked from commit edf1da94dc099c6e2ab1d455ce8652fada3cdb04)
Diffstat (limited to 'src')
-rwxr-xr-x | src/vnet/tcp/tcp_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/tcp/tcp_input.c b/src/vnet/tcp/tcp_input.c index 6d7df3cf003..bf498dc23ab 100755 --- a/src/vnet/tcp/tcp_input.c +++ b/src/vnet/tcp/tcp_input.c @@ -1208,7 +1208,7 @@ tcp_rcv_sacks (tcp_connection_t * tc, u32 ack) || sb->is_reneging || sb->holes[sb->head].start == ack); ASSERT (sb->last_lost_bytes <= sb->lost_bytes); ASSERT ((ack - tc->snd_una) + sb->last_sacked_bytes - - sb->last_bytes_delivered >= sb->rxt_sacked || sb->is_reneging); + - sb->last_bytes_delivered >= sb->rxt_sacked); ASSERT ((ack - tc->snd_una) >= tc->sack_sb.last_bytes_delivered || (tc->flags & TCP_CONN_FINSNT)); |