From be578b67b5a5bedbbec61c7164875b6b1e1b8fff Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Thu, 6 May 2021 10:19:21 -0700 Subject: [PATCH] tcp_twcheck(): use correct unlock macro. This crippled in due to conflict between two last commits 1db08fbe3ff and 9e644c23000. Submitted by: Peter Lei --- sys/netinet/tcp_timewait.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 695ec4413ac9..5d4de222b802 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -478,7 +478,7 @@ tcp_twcheck(struct inpcb *inp, struct tcpopt *to, struct tcphdr *th, tcp_respond(NULL, mtod(m, void *), th, m, th->th_seq+tlen, (tcp_seq)0, TH_RST|TH_ACK); } - INP_WUNLOCK(inp); + INP_UNLOCK(inp); return (0); }