summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/vnet/tcp/tcp_input.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/tcp/tcp_input.c b/src/vnet/tcp/tcp_input.c
index bc11461b521..86158b9d6c6 100755
--- 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
{
+ /* Packet made it through for ack processing */
+ if (tc->rcv_wnd < tc->snd_mss)
+ return TCP_ERROR_ZERO_RWND;
+
return TCP_ERROR_FIFO_FULL;
}