git: kernel - Fix rare race in mutex ownership transfer

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Mar 17 01:31:39 PDT 2018


commit b5c75996da05808bcbe960ce85be01b04663cb5e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Mar 17 01:26:53 2018 -0700

    kernel - Fix rare race in mutex ownership transfer
    
    * Fix cases where competing mutexes can get confused over ownership,
      due to the mutex code not properly NULLing out the field in
      certain situations.

Summary of changes:
 sys/kern/kern_mutex.c |  9 +++++++++
 sys/sys/mutex2.h      | 10 ++++++++++
 2 files changed, 19 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b5c75996da05808bcbe960ce85be01b04663cb5e


-- 
DragonFly BSD source repository



More information about the Commits mailing list