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:
Robert Watson 2011-05-24 13:08:59 +00:00
parent 8f092df025
commit 61401ec2de
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222251

View File

@ -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);