assert inpcb is locked in udp_output

Supported by:	FreeBSD Foundation
This commit is contained in:
sam 2003-11-08 23:00:48 +00:00
parent 5b6b1b2d9d
commit cc85bf43e4

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