git: kernel - add missing M_ZERO in taskqueue_create()

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 30 11:54:04 PDT 2009


commit fb5250243a0189ae4a7a506b435f219b3a1b8766
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Sep 30 11:38:53 2009 -0700

    kernel - add missing M_ZERO in taskqueue_create()
    
    * taskqueue_create() was not ensuring a zero'd task queue structure,
      resulting in a situation where the flags and other fields could end
      up as garbage and prevent the taskqueue from being signaled on enqueue.
    
    * This bug was responsible for situations where CAM fails to complete
      its configuration, generating warnings for 60 seconds and then giving
      up.

Summary of changes:
 sys/kern/subr_taskqueue.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list