1
0
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:
Sam Leffler 2003-11-08 23:00:48 +00:00
parent c29afad673
commit 3c47a187b7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122328

View File

@ -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