diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2009-06-20 23:38:21 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2009-06-20 23:38:21 +0000 |
| commit | c0a8cee3712455df85d5bad158fa6ea1c361eeca (patch) | |
| tree | e8d84291821757328d381d86120c5257098dd1b0 /sys/netipx/spx_usrreq.c | |
| parent | deb090cba32c6ef44fa2f5573d3456c41ce884ea (diff) | |
Notes
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; |
