summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-04-19 18:35:27 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-04-19 18:35:27 +0000
commit211b72ad2f0fe17b59a0477765b56290109da309 (patch)
treedb77964716b8c9c1e05332d6def85b71c72a5155 /sys
parent8328afb7911c6261913c78faeb0e604baf8e7877 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/security/mac/mac_inet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac/mac_inet.c b/sys/security/mac/mac_inet.c
index 0445d915a82e..cdf9b6920e7f 100644
--- a/sys/security/mac/mac_inet.c
+++ b/sys/security/mac/mac_inet.c
@@ -201,7 +201,7 @@ mac_inpcb_create_mbuf(struct inpcb *inp, struct mbuf *m)
{
struct label *mlabel;
- INP_WLOCK_ASSERT(inp);
+ INP_LOCK_ASSERT(inp);
mlabel = mac_mbuf_to_label(m);
MAC_PERFORM(inpcb_create_mbuf, inp, inp->inp_label, m, mlabel);