diff options
author | Florin Coras <fcoras@cisco.com> | 2019-03-06 16:51:58 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-03-08 20:03:22 +0000 |
commit | 7e74bf39ecd97f6bf79bde70d07f907548a83783 (patch) | |
tree | 3ade1725864111440af908dc1db917e7bfdf0763 /src/vnet/tcp/tcp_input.c | |
parent | 11e2cf5f1a37965001efee6a921a3fb2aabcddf6 (diff) |
tcp: fix window probes in fin-wait-1
Change-Id: Idf060f385f4d9b2f42fdab6a1d372727beb8b19e
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/tcp/tcp_input.c')
-rw-r--r-- | src/vnet/tcp/tcp_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/tcp/tcp_input.c b/src/vnet/tcp/tcp_input.c index b7838e2e1a0..c03c5db4332 100644 --- a/src/vnet/tcp/tcp_input.c +++ b/src/vnet/tcp/tcp_input.c @@ -349,7 +349,7 @@ tcp_segment_validate (tcp_worker_ctx_t * wrk, tcp_connection_t * tc0, /* If our window is 0 and the packet is in sequence, let it pass * through for ack processing. It should be dropped later. */ - if (tc0->rcv_wnd == 0 + if (tc0->rcv_wnd < tc0->snd_mss && tc0->rcv_nxt == vnet_buffer (b0)->tcp.seq_number) goto check_reset; |