mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
assert inpcb is locked in udp_output
Supported by: FreeBSD Foundation
This commit is contained in:
parent
c29afad673
commit
3c47a187b7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122328
@ -696,6 +696,7 @@ udp_output(inp, m, addr, control, td)
|
||||
int ipflags;
|
||||
u_short fport, lport;
|
||||
|
||||
INP_LOCK_ASSERT(inp);
|
||||
#ifdef MAC
|
||||
mac_create_mbuf_from_socket(inp->inp_socket, m);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user