Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2010 11:33:20 +0000 (UTC)
From:      Randall Stewart <rrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r208891 - head/sys/netinet
Message-ID:  <201006071133.o57BXKfB066016@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rrs
Date: Mon Jun  7 11:33:20 2010
New Revision: 208891
URL: http://svn.freebsd.org/changeset/base/208891

Log:
  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

Modified:
  head/sys/netinet/sctp_pcb.c

Modified: head/sys/netinet/sctp_pcb.c
==============================================================================
--- head/sys/netinet/sctp_pcb.c	Mon Jun  7 10:22:22 2010	(r208890)
+++ head/sys/netinet/sctp_pcb.c	Mon Jun  7 11:33:20 2010	(r208891)
@@ -4676,7 +4676,6 @@ sctp_free_assoc(struct sctp_inpcb *inp, 
 					    SS_ISCONNECTED);
 				}
 				socantrcvmore_locked(so);
-				SOCK_UNLOCK(so);
 				sctp_sowwakeup(inp, so);
 				sctp_sorwakeup(inp, so);
 				SCTP_SOWAKEUP(so);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006071133.o57BXKfB066016>