Unlock the stcb when using setsockopt() for the SCTP_PEER_ADDR_THLDS option.
MFC after: 3 days
This commit is contained in:
parent
ba8d15d3a8
commit
2bb7e77385
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=279863
@ -6249,6 +6249,7 @@ sctp_setopt(struct socket *so, int optname, void *optval, size_t optsize,
|
||||
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) ||
|
||||
|
Loading…
Reference in New Issue
Block a user