cvs commit: src/sys/kern kern_conf.c

Konstantin Belousov kib at
Fri May 16 11:41:51 UTC 2008

kib         2008-05-16 11:41:51 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/kern             kern_conf.c 
  MFC part of the rev. 1.210, and the rev. 1.211.
  In the giant_XXX wrappers for the device methods of the D_NEEDGIANT
  drivers, do not dereference the cdev->si_devsw. It is racing with
  the destroy_devl() clearing of the si_devsw. Instead, use the
  dev_refthread() and return ENXIO for the destroyed device.
  PR:     kern/122287
  Revision    Changes    Path  +64 -20    src/sys/kern/kern_conf.c

More information about the cvs-src mailing list