svn commit: r283733 - stable/10/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Fri May 29 13:20:40 UTC 2015


Author: tuexen
Date: Fri May 29 13:20:39 2015
New Revision: 283733
URL: https://svnweb.freebsd.org/changeset/base/283733

Log:
  MFC r280634:
  
  Use the reference count of the right SCTP inp.
  Joint work with rrs@

Modified:
  stable/10/sys/netinet/sctp_usrreq.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netinet/sctp_usrreq.c
==============================================================================
--- stable/10/sys/netinet/sctp_usrreq.c	Fri May 29 13:18:10 2015	(r283732)
+++ stable/10/sys/netinet/sctp_usrreq.c	Fri May 29 13:20:39 2015	(r283733)
@@ -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-stable mailing list