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

Michael Tuexen tuexen at FreeBSD.org
Fri May 29 12:57:05 UTC 2015


Author: tuexen
Date: Fri May 29 12:57:04 2015
New Revision: 283725
URL: https://svnweb.freebsd.org/changeset/base/283725

Log:
  MFC r279863:
  
  Unlock the stcb when using setsockopt() for the SCTP_PEER_ADDR_THLDS option.

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 12:54:30 2015	(r283724)
+++ stable/10/sys/netinet/sctp_usrreq.c	Fri May 29 12:57:04 2015	(r283725)
@@ -6249,6 +6249,7 @@ sctp_setopt(struct socket *so, int optna
 					stcb->asoc.def_net_failure = thlds->spt_pathmaxrxt;
 					stcb->asoc.def_net_pf_threshold = thlds->spt_pathpfthld;
 				}
+				SCTP_TCB_UNLOCK(stcb);
 			} else {
 				if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
 				    (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||


More information about the svn-src-all mailing list