tcp_twcheck(): use correct unlock macro.

This crippled in due to conflict between two last commits 1db08fbe3f
and 9e644c2300.

Submitted by:	Peter Lei
This commit is contained in:
Gleb Smirnoff 2021-05-06 10:19:21 -07:00
parent 5d8fd932e4
commit be578b67b5

View File

@ -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);
}