aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2009-06-20 17:42:53 +0000
committerRobert Watson <rwatson@FreeBSD.org>2009-06-20 17:42:53 +0000
commit3b9fec2ed0a237f92f8d709b092ff33fb1f1ae94 (patch)
treeba8216d0edf09ba6964c19c8fb3cc516999d1b96
parent4211da4eb6b744dff45027c171e88f45b5c813a0 (diff)
Notes
-rw-r--r--sys/netipx/ipx_usrreq.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/netipx/ipx_usrreq.c b/sys/netipx/ipx_usrreq.c
index a42f4d224d46..ef9c1ad3d64d 100644
--- a/sys/netipx/ipx_usrreq.c
+++ b/sys/netipx/ipx_usrreq.c
@@ -90,6 +90,8 @@ __FBSDID("$FreeBSD$");
#include <netipx/ipx_pcb.h>
#include <netipx/ipx_var.h>
+#include <security/mac/mac_framework.h>
+
/*
* IPX protocol implementation.
*/
@@ -577,6 +579,9 @@ ipx_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *nam,
* used by ipx_pcbconnect() and ipx_pcbdisconnect(), just the IPX
* pcb lock.
*/
+#ifdef MAC
+ mac_socket_create_mbuf(so, m);
+#endif
if (nam != NULL) {
IPX_LIST_LOCK();
IPX_LOCK(ipxp);