mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
Fix a lock leak in childproc_continued().
This commit is contained in:
parent
0ce3dc049a
commit
027f760408
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153153
@ -2888,8 +2888,10 @@ childproc_continued(struct proc *p)
|
||||
p->p_ksi->ksi_status = SIGCONT;
|
||||
p->p_ksi->ksi_pid = p->p_pid;
|
||||
p->p_ksi->ksi_uid = p->p_ucred->cr_ruid;
|
||||
if (KSI_ONQ(p->p_ksi))
|
||||
if (KSI_ONQ(p->p_ksi)) {
|
||||
PROC_UNLOCK(p->p_pptr);
|
||||
return;
|
||||
}
|
||||
}
|
||||
tdsignal(p->p_pptr, NULL, SIGCHLD, p->p_ksi);
|
||||
PROC_UNLOCK(p->p_pptr);
|
||||
|
Loading…
Reference in New Issue
Block a user