summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2010-06-07 11:33:20 +0000
committerrrs <rrs@FreeBSD.org>2010-06-07 11:33:20 +0000
commit259851f89cb7d6760b891887a6ae6350c5985f53 (patch)
tree31cd64a1a18ededae669c3440c1f6a167e41460b
parent6052fb4c47903aaf022d0858b927c6ae292c2e57 (diff)
downloadFreeBSD-src-259851f89cb7d6760b891887a6ae6350c5985f53.zip
FreeBSD-src-259851f89cb7d6760b891887a6ae6350c5985f53.tar.gz
Opps... my bad.. we don't need a SOCK_UNLOCK() after
calling socantrcvmore_locked() since it will unlock the lock for you. MFC after: 1 week
-rw-r--r--sys/netinet/sctp_pcb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c
index d7ce355..345d21b 100644
--- a/sys/netinet/sctp_pcb.c
+++ b/sys/netinet/sctp_pcb.c
@@ -4676,7 +4676,6 @@ sctp_free_assoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int from_inpcbfre
SS_ISCONNECTED);
}
socantrcvmore_locked(so);
- SOCK_UNLOCK(so);
sctp_sowwakeup(inp, so);
sctp_sorwakeup(inp, so);
SCTP_SOWAKEUP(so);
OpenPOWER on IntegriCloud