Date: Tue, 20 Feb 2018 20:19:38 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329660 - head/sys/kern Message-ID: <201802202019.w1KKJcjm044514@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Tue Feb 20 20:19:38 2018 New Revision: 329660 URL: https://svnweb.freebsd.org/changeset/base/329660 Log: Fix reaping on process fd close broken after r329449 The only consumer of proc_reap other than proc_to_reap was not updated to not PROC_SLOCK. Reported by: Juan Ramon Molina Menor <listjm club.fr> Modified: head/sys/kern/sys_procdesc.c Modified: head/sys/kern/sys_procdesc.c ============================================================================== --- head/sys/kern/sys_procdesc.c Tue Feb 20 20:17:19 2018 (r329659) +++ head/sys/kern/sys_procdesc.c Tue Feb 20 20:19:38 2018 (r329660) @@ -398,7 +398,6 @@ procdesc_close(struct file *fp, struct thread *td) * process's reference to the process descriptor when it * calls back into procdesc_reap(). */ - PROC_SLOCK(p); proc_reap(curthread, p, NULL, 0); } else { /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802202019.w1KKJcjm044514>