kernel - add missing M_ZERO in taskqueue_create()
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 30 Sep 2009 18:38:53 +0000 (11:38 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 30 Sep 2009 18:38:53 +0000 (11:38 -0700)
commitfb5250243a0189ae4a7a506b435f219b3a1b8766
treeafc0b8b4ac5bc1da56a19ab302d4c290b678ed71
parent30e27f66d3548133a7c1d4143aa3ff845e803253
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.
sys/kern/subr_taskqueue.c