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
@ -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…
x
Reference in New Issue
Block a user