Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2008 11:41:51 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_conf.c
Message-ID:  <200805161141.m4GBfpY9091064@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2008-05-16 11:41:51 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/kern             kern_conf.c 
  Log:
  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
  1.186.2.10  +64 -20    src/sys/kern/kern_conf.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805161141.m4GBfpY9091064>