svn commit: r280634 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Wed Mar 25 21:41:21 UTC 2015
Author: tuexen
Date: Wed Mar 25 21:41:20 2015
New Revision: 280634
URL: https://svnweb.freebsd.org/changeset/base/280634
Log:
Use the reference count of the right SCTP inp.
Joint work with rrs@
MFC after: 3 days
Modified:
head/sys/netinet/sctp_usrreq.c
Modified: head/sys/netinet/sctp_usrreq.c
==============================================================================
--- head/sys/netinet/sctp_usrreq.c Wed Mar 25 21:31:36 2015 (r280633)
+++ head/sys/netinet/sctp_usrreq.c Wed Mar 25 21:41:20 2015 (r280634)
@@ -6953,7 +6953,7 @@ sctp_listen(struct socket *so, int backl
SCTP_INP_DECR_REF(tinp);
return (EADDRINUSE);
} else if (tinp) {
- SCTP_INP_DECR_REF(inp);
+ SCTP_INP_DECR_REF(tinp);
}
}
}
More information about the svn-src-head
mailing list