kernel - Fix off-by-1 error in semexit
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 15 Nov 2012 20:30:51 +0000 (12:30 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 15 Nov 2012 20:30:51 +0000 (12:30 -0800)
commit3d4204d75da1c2fa88798225754f59a4c347f400
treefef6705992e353d7cb07708bd3f97a1154fdf6f9
parentb54e9cad1238e688ae26be1ab97b147cf334a5d9
kernel - Fix off-by-1 error in semexit

* Fix an off-by-1 error that was preventing semexit from properly undoing
  all the semaphores controlled by the exiting process.

Reported-by: lentferj, vsrinivas, others
sys/kern/sysv_sem.c