In article <[email protected]>, RVP <[email protected]> wrote: >I forgot this: > >---START PATCH--- >--- sys/miscfs/procfs/procfs_vnops.c.orig 2021-12-09 04:11:22.778882692 >+0000 >+++ sys/miscfs/procfs/procfs_vnops.c 2022-01-06 22:24:06.003672573 +0000 >@@ -1400,6 +1400,7 @@ > nc++; > } > if (error) { >+ procfs_proc_unlock(p); > ncookies = nc; > break; > } >@@ -1454,6 +1455,7 @@ > nc++; > } > if (error) { >+ procfs_proc_unlock(p); > ncookies = nc; > break; > } >---END PATCH--- > >A couple of procfs_proc_unlock()s are missing in the >error path.
Fixed, thanks! christos
