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:
7aa76d4
)
tcp: no send space in timer recovery
91/29591/3
author
Florin Coras
<fcoras@cisco.com>
Thu, 22 Oct 2020 06:24:53 +0000
(23:24 -0700)
committer
Dave Barach
<openvpp@barachs.net>
Thu, 22 Oct 2020 15:55:00 +0000
(15:55 +0000)
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I9461b6539c504ca844c25d04abe95929f842e4e9
src/vnet/tcp/tcp.c
patch
|
blob
|
history
diff --git
a/src/vnet/tcp/tcp.c
b/src/vnet/tcp/tcp.c
index
31ba276
..
d94da2c
100644
(file)
--- a/
src/vnet/tcp/tcp.c
+++ b/
src/vnet/tcp/tcp.c
@@
-916,7
+916,10
@@
tcp_snd_space_inline (tcp_connection_t * tc)
{
int snd_space;
- if (PREDICT_FALSE (tcp_in_fastrecovery (tc)
+ /* Fast path is disabled when recovery is on. @ref tcp_session_custom_tx
+ * controls both retransmits and the sending of new data while congested
+ */
+ if (PREDICT_FALSE (tcp_in_cong_recovery (tc)
|| tc->state == TCP_STATE_CLOSED))
return 0;