Date: Fri, 29 May 2015 12:57:05 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r283725 - stable/10/sys/netinet Message-ID: <201505291257.t4TCv56Z043270@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) ||
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505291257.t4TCv56Z043270>