diff options
author | rwatson <rwatson@FreeBSD.org> | 2011-05-24 13:08:59 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2011-05-24 13:08:59 +0000 |
commit | 08101b4867765d4080cc8b5ee02dcebca5ed87d5 (patch) | |
tree | a5dabd7aef4905d8980191a7eace48ea42f31025 | |
parent | 528150c490a28869ecb03b5cd0dd6b441b362813 (diff) | |
download | FreeBSD-src-08101b4867765d4080cc8b5ee02dcebca5ed87d5.zip FreeBSD-src-08101b4867765d4080cc8b5ee02dcebca5ed87d5.tar.gz |
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.
-rw-r--r-- | sys/netinet/in_pcb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 9bde3c8..85e31dc 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -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); |