MFC r279863:
Unlock the stcb when using setsockopt() for the SCTP_PEER_ADDR_THLDS option.
This commit is contained in:
parent
10635a0e4c
commit
b21153d463
@ -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_failure = thlds->spt_pathmaxrxt;
|
||||||
stcb->asoc.def_net_pf_threshold = thlds->spt_pathpfthld;
|
stcb->asoc.def_net_pf_threshold = thlds->spt_pathpfthld;
|
||||||
}
|
}
|
||||||
|
SCTP_TCB_UNLOCK(stcb);
|
||||||
} else {
|
} else {
|
||||||
if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
|
if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
|
||||||
(inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
|
(inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user