diff options
Diffstat (limited to 'sys/netipx/spx_usrreq.c')
| -rw-r--r-- | sys/netipx/spx_usrreq.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c index f6b63e2434eb..2b1828855bcc 100644 --- a/sys/netipx/spx_usrreq.c +++ b/sys/netipx/spx_usrreq.c @@ -225,6 +225,11 @@ spx_input(struct mbuf *m, struct ipxpcb *ipxp) so = ipxp->ipxp_socket; KASSERT(so != NULL, ("spx_input: so == NULL")); +#ifdef MAC + if (mac_socket_check_deliver(so, m) != 0) + goto drop; +#endif + if (so->so_options & SO_DEBUG || traceallspxs) { ostate = cb->s_state; spx_savesi = *si; |
