svn commit: r195894 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Sun Jul 26 15:07:00 UTC 2009
Author: tuexen
Date: Sun Jul 26 15:06:59 2009
New Revision: 195894
URL: http://svn.freebsd.org/changeset/base/195894
Log:
Add a missing unlock for the inp lock when
returning early from sctp_add_to_readq().
Approved by: re, rrs (mentor)
MFC after: 2 weeks.
Modified:
head/sys/netinet/sctputil.c
Modified: head/sys/netinet/sctputil.c
==============================================================================
--- head/sys/netinet/sctputil.c Sun Jul 26 14:04:48 2009 (r195893)
+++ head/sys/netinet/sctputil.c Sun Jul 26 15:06:59 2009 (r195894)
@@ -4362,6 +4362,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-head
mailing list