git: kernel - Fix callout structural corruption bug

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Dec 26 11:27:37 PST 2020


commit 005cad8bb9e8518ecab176aa4d7ef484d54cb303
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Dec 26 11:25:21 2020 -0800

    kernel - Fix callout structural corruption bug
    
    * _callout_cancel_quick() was not properly testing whether
      the callout being canceled matched sc->next, resulting
      it occassional kernel panics under certain circumstances.
    
    * Could be triggered during dsynth runs.
    
    * Fixed by adding the proper test.
    
    Reported-by: zrj

Summary of changes:
 sys/kern/kern_timeout.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/005cad8bb9e8518ecab176aa4d7ef484d54cb303


-- 
DragonFly BSD source repository



More information about the Commits mailing list