diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2008-07-10 09:45:28 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2008-07-10 09:45:28 +0000 |
| commit | 1175d9d56d3bc2950fd9a772f568843332867d44 (patch) | |
| tree | 2ebec58bb733691b59c424eb070b3b6209a87e70 /sys/netinet/udp_usrreq.c | |
| parent | f4841b5380f28727a2865f37b602d0e11a8048c4 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
| -rw-r--r-- | sys/netinet/udp_usrreq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 312dcfcf28b4..8843d0d5c4e7 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -854,10 +854,6 @@ udp_output(struct inpcb *inp, struct mbuf *m, struct sockaddr *addr, INP_RLOCK(inp); } -#ifdef MAC - mac_inpcb_create_mbuf(inp, m); -#endif - /* * If the IP_SENDSRCADDR control message was specified, override the * source address for this datagram. Its use is invalidated if the @@ -968,6 +964,10 @@ udp_output(struct inpcb *inp, struct mbuf *m, struct sockaddr *addr, if (inp->inp_flags & INP_ONESBCAST) ipflags |= IP_SENDONES; +#ifdef MAC + mac_inpcb_create_mbuf(inp, m); +#endif + /* * Set up checksum and output datagram. */ |
