tcp_respond(): fix assertion, should have been done in 08d9c92027
.
This commit is contained in:
parent
d4cdb68049
commit
86046cf55f
@ -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 {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user