Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
bf5049a
)
tcp: fix close-waiting check for outstanding tx data
05/20405/1
author
Florin Coras
<fcoras@cisco.com>
Fri, 28 Jun 2019 16:41:28 +0000
(09:41 -0700)
committer
Florin Coras
<florin.coras@gmail.com>
Fri, 28 Jun 2019 18:11:04 +0000
(18:11 +0000)
Type: fix
Change-Id: I9e0e1bb933c38b17ac9fb8bf11b81e2fed021bf8
Signed-off-by: Florin Coras <fcoras@cisco.com>
(cherry picked from commit
182bbc1c5ab3d8607153dd19f0a24baaf5cbfc88
)
src/vnet/tcp/tcp_input.c
patch
|
blob
|
history
diff --git
a/src/vnet/tcp/tcp_input.c
b/src/vnet/tcp/tcp_input.c
index
be85c8b
..
ca8f2a5
100644
(file)
--- a/
src/vnet/tcp/tcp_input.c
+++ b/
src/vnet/tcp/tcp_input.c
@@
-2837,7
+2837,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);