diff options
| author | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2012-04-06 06:53:58 +0000 |
|---|---|---|
| committer | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2012-04-06 06:53:58 +0000 |
| commit | e4b3229aa5826cc4ecab491fd6ef3c482cbc9c09 (patch) | |
| tree | ead0d5369047c56ec667d8a937da41d4682a0ed6 /sys/security/mac | |
| parent | 3ef51c5fb9163f2aafb1c14729e06a8bf0c4d113 (diff) | |
Notes
Diffstat (limited to 'sys/security/mac')
| -rw-r--r-- | sys/security/mac/mac_net.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/security/mac/mac_net.c b/sys/security/mac/mac_net.c index ed3388573bd7e..b7e4c54fc8449 100644 --- a/sys/security/mac/mac_net.c +++ b/sys/security/mac/mac_net.c @@ -319,6 +319,7 @@ mac_bpfdesc_create_mbuf(struct bpf_d *d, struct mbuf *m) { struct label *label; + /* Assume reader lock is enough. */ BPFD_LOCK_ASSERT(d); if (mac_policy_count == 0) @@ -354,6 +355,7 @@ mac_bpfdesc_check_receive(struct bpf_d *d, struct ifnet *ifp) { int error; + /* Assume reader lock is enough. */ BPFD_LOCK_ASSERT(d); if (mac_policy_count == 0) |
