commit | 0ef77d4ea41fb765061c64896b3fbd0b2e4bc276 | [log] [tgz] |
---|---|---|
author | Chih Hung Yu <chyu313@gmail.com> | Wed Jun 30 14:40:16 2021 +0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Jul 06 19:19:41 2021 -0400 |
tree | ca9f1b20d5be3db49eb3072d4ae1cc02e1b7eb4f | |
parent | 4c38ca1625f577cd543733376bfc5fb1b755e5cc [diff] |
kernel: Fix negative mutex lock_count value If you try to unlock an unlocked mutex, it will incorrectly succeeds and decreases the lock count to -1. Fixes #36572 Signed-off-by: Chih Hung Yu <chyu313@gmail.com>