mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
When propagating a MAC label from an inpcb to an mbuf, allow read and
write locks on the inpcb, not just write locks. MFC after: 3 months
This commit is contained in:
parent
8328afb791
commit
211b72ad2f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue