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:
883bf3d
)
tcp: count zero wnd enqueue attempts
55/26155/4
author
Florin Coras
<fcoras@cisco.com>
Thu, 26 Mar 2020 02:45:39 +0000
(
02:45
+0000)
committer
Dave Barach
<openvpp@barachs.net>
Thu, 2 Apr 2020 11:27:33 +0000
(11:27 +0000)
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: If22bad96a9102bc4058d52fc8565bd6a14c3c66c
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
bc11461
..
86158b9
100755
(executable)
--- a/
src/vnet/tcp/tcp_input.c
+++ b/
src/vnet/tcp/tcp_input.c
@@
-1942,6
+1942,10
@@
tcp_session_enqueue_data (tcp_connection_t * tc, vlib_buffer_t * b,
}
else
{
}
else
{
+ /* Packet made it through for ack processing */
+ if (tc->rcv_wnd < tc->snd_mss)
+ return TCP_ERROR_ZERO_RWND;
+
return TCP_ERROR_FIFO_FULL;
}
return TCP_ERROR_FIFO_FULL;
}