git: kernel - Fix early boot interrupt race
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Wed Sep 19 16:52:47 PDT 2018
    
    
  
commit 94fd1ee9015cf6f3ded2524896171e4fe96f2b85
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Sep 19 16:51:50 2018 -0700
    kernel - Fix early boot interrupt race
    
    * Fix a null pointer dereference panic due to an interrupt
      race during early boot.  Interrupts are enabled before
      intr_block is allocated, so intr_block can be NULL.
    
    * Refactor the kmalloc() for intr_block to only allocate the
      space needed for ncpus.
Summary of changes:
 sys/kern/kern_intr.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/94fd1ee9015cf6f3ded2524896171e4fe96f2b85
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list