diff options
author | Florin Coras <fcoras@cisco.com> | 2019-06-28 09:41:28 -0700 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2019-06-28 17:53:08 +0000 |
commit | 182bbc1c5ab3d8607153dd19f0a24baaf5cbfc88 (patch) | |
tree | c7ba528412decc060446d35310b6c9be4f8fdfb5 /src/vnet/tcp | |
parent | a26349da47d9a05d9fe9725343aa85e9640ab1ea (diff) |
tcp: fix close-waiting check for outstanding tx data
Type: fix
Change-Id: I9e0e1bb933c38b17ac9fb8bf11b81e2fed021bf8
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/tcp')
-rw-r--r-- | src/vnet/tcp/tcp_input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/tcp/tcp_input.c b/src/vnet/tcp/tcp_input.c index 944b8eb2208..23030ee77d2 100644 --- a/src/vnet/tcp/tcp_input.c +++ b/src/vnet/tcp/tcp_input.c @@ -2844,7 +2844,8 @@ tcp46_rcv_process_inline (vlib_main_t * vm, vlib_node_runtime_t * node, break; /* Still have outstanding tx data */ - if (transport_max_tx_dequeue (&tc0->connection)) + max_dequeue = transport_max_tx_dequeue (&tc0->connection); + if (max_dequeue > tc0->burst_acked) break; tcp_send_fin (tc0); |