DragonFly BSD
DragonFly commits List (threaded) for 2009-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - add missing M_ZERO in taskqueue_create()


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Sep 2009 11:52:29 -0700 (PDT)

commit fb5250243a0189ae4a7a506b435f219b3a1b8766
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]