svn commit: r202593 - stable/7/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Mon Jan 18 21:28:11 UTC 2010


Author: tuexen
Date: Mon Jan 18 21:28:11 2010
New Revision: 202593
URL: http://svn.freebsd.org/changeset/base/202593

Log:
  MFC 195894:
  Add a missing unlock for the inp lock when
  returning early from sctp_add_to_readq().

Modified:
  stable/7/sys/netinet/sctputil.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/netinet/sctputil.c
==============================================================================
--- stable/7/sys/netinet/sctputil.c	Mon Jan 18 21:25:12 2010	(r202592)
+++ stable/7/sys/netinet/sctputil.c	Mon Jan 18 21:28:11 2010	(r202593)
@@ -4463,6 +4463,7 @@ sctp_add_to_readq(struct sctp_inpcb *inp
 		control->tail_mbuf = prev;
 	} else {
 		/* Everything got collapsed out?? */
+		SCTP_INP_READ_UNLOCK(inp);
 		return;
 	}
 	if (end) {


More information about the svn-src-all mailing list