mirror of
https://github.com/opnsense/src.git
synced 2026-04-25 16:18:54 -04:00
An inpcb lock is no longer required in in_pcbref() since the move to
refcount(9). MFC after: 3 weeks Sponsored by: Juniper Networks, Inc.
This commit is contained in:
parent
8f092df025
commit
61401ec2de
1 changed files with 0 additions and 2 deletions
|
|
@ -1054,8 +1054,6 @@ void
|
|||
in_pcbref(struct inpcb *inp)
|
||||
{
|
||||
|
||||
INP_WLOCK_ASSERT(inp);
|
||||
|
||||
KASSERT(inp->inp_refcount > 0, ("%s: refcount 0", __func__));
|
||||
|
||||
refcount_acquire(&inp->inp_refcount);
|
||||
|
|
|
|||
Loading…
Reference in a new issue