diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2021-03-19 02:06:13 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2021-04-12 15:25:31 +0000 |
| commit | 08d9c9202755a30f97617758595214a530afcaea (patch) | |
| tree | 4d4b80c52f6196f37535c9a132b05aa7ad0ebc03 /sys/security/mac | |
| parent | 0c6282e842b33a1c86e01b27fc40af9c76fd404e (diff) | |
Diffstat (limited to 'sys/security/mac')
| -rw-r--r-- | sys/security/mac/mac_inet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac/mac_inet.c b/sys/security/mac/mac_inet.c index 97f256c118fc..2b6a70fdf1bf 100644 --- a/sys/security/mac/mac_inet.c +++ b/sys/security/mac/mac_inet.c @@ -487,7 +487,7 @@ void mac_syncache_create(struct label *label, struct inpcb *inp) { - INP_WLOCK_ASSERT(inp); + INP_LOCK_ASSERT(inp); MAC_POLICY_PERFORM_NOSLEEP(syncache_create, label, inp); } |
