From a3accbb217d45fab47e6f2d340ac18cb2b51628b Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 8 May 2013 16:11:55 -0700 Subject: [PATCH] kernel - Wakeup p->p_step on procfs close. * Wakeup p->p_step in addition to p->p_stype on procfs close. Reported-by: vsrinivas --- sys/vfs/procfs/procfs_vnops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/vfs/procfs/procfs_vnops.c b/sys/vfs/procfs/procfs_vnops.c index ad6b98e494..9187d3f368 100644 --- a/sys/vfs/procfs/procfs_vnops.c +++ b/sys/vfs/procfs/procfs_vnops.c @@ -256,6 +256,7 @@ procfs_close(struct vop_close_args *ap) p->p_step = 0; spin_unlock(&p->p_spin); wakeup(&p->p_stype); + wakeup(&p->p_step); } pfs_pdone(p); break; -- 2.41.0