diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-06-20 17:28:38 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-06-20 17:28:38 +0000 |
commit | 3e2e3a5984e28b651e636bf94e161c8aeaaf3a93 (patch) | |
tree | be4a4c5b60ffddbe794c31ec7766ad3e2c6e3425 /sys/netatalk/ddp_output.c | |
parent | b892ccc414c4a336fee26a43b6b01eb601034bd3 (diff) | |
download | FreeBSD-src-3e2e3a5984e28b651e636bf94e161c8aeaaf3a93.zip FreeBSD-src-3e2e3a5984e28b651e636bf94e161c8aeaaf3a93.tar.gz |
Don't lock sockets around calls to mac_socket_create_mbuf() -- policies
are now expected to acquire the socket lock if they require them.
Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/netatalk/ddp_output.c')
-rw-r--r-- | sys/netatalk/ddp_output.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netatalk/ddp_output.c b/sys/netatalk/ddp_output.c index 203bc9f..6fa75ce 100644 --- a/sys/netatalk/ddp_output.c +++ b/sys/netatalk/ddp_output.c @@ -51,9 +51,7 @@ ddp_output(struct mbuf *m, struct socket *so) struct ddpcb *ddp = sotoddpcb(so); #ifdef MAC - SOCK_LOCK(so); mac_socket_create_mbuf(so, m); - SOCK_UNLOCK(so); #endif M_PREPEND(m, sizeof(struct ddpehdr), M_DONTWAIT); |