The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=86046cf55f806c65e7191323e290333d32bacb70
commit 86046cf55f806c65e7191323e290333d32bacb70 Author: Gleb Smirnoff <[email protected]> AuthorDate: 2021-04-16 22:19:26 +0000 Commit: Gleb Smirnoff <[email protected]> CommitDate: 2021-04-16 22:39:51 +0000 tcp_respond(): fix assertion, should have been done in 08d9c920275. --- sys/netinet/tcp_subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 05af0076b23a..e973555efbcb 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1612,7 +1612,7 @@ tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m, * Packet is associated with a socket, so allow the * label of the response to reflect the socket label. */ - INP_WLOCK_ASSERT(inp); + INP_LOCK_ASSERT(inp); mac_inpcb_create_mbuf(inp, m); } else { /* _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "[email protected]"
