From d451cbd0bdf7467ac8cb34f9658f92a5333852b0 Mon Sep 17 00:00:00 2001 From: Ryujiro Shibuya Date: Tue, 5 Nov 2019 07:24:32 +0000 Subject: tcp: correct validity check return value Type: fix Signed-off-by: Ryujiro Shibuya Change-Id: Ib59bf664d8da20516d8f16d716c5e8698675da4b (cherry picked from commit 3ea17d54a9a00c81bc672a7be1d48b765ac87ed2) --- src/vnet/tcp/tcp_input.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet') diff --git a/src/vnet/tcp/tcp_input.c b/src/vnet/tcp/tcp_input.c index f838d59e30a..690bdce4f86 100755 --- a/src/vnet/tcp/tcp_input.c +++ b/src/vnet/tcp/tcp_input.c @@ -2294,6 +2294,7 @@ tcp_lookup_is_valid (tcp_connection_t * tc, tcp_header_t * hdr) && tmp->rmt_port == hdr->src_port) { TCP_DBG ("half-open is valid!"); + is_valid = 1; } } } -- cgit 1.2.3-korg