Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2001 08:58:48 -0800 (PST)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/vn vn.c
Message-ID:  <200103261658.f2QGwmj21802@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2001/03/26 08:58:48 PST

  Modified files:        (Branch: RELENG_4)
    sys/dev/vn           vn.c 
  Log:
  Clean up properly when a `vn' module is kldunloaded to avoid panics
  later. We now call cdesw_remove() to unregister the device, NULL
  out any pointers to the vn_softc that exist in dev_t `si_drv1'
  fields, and perform a destroy_dev() corresponding to the initial
  make_dev().
  
  This is not an MFC; vn(4) is no longer in -current.
  
  PR:		kern/18270, i386/26049
  Submitted by:	peter.edwards@ireland.com, chervarium@nove.bg
  Reviewed by:	phk
  Approved by:	jkh
  
  Revision   Changes    Path
  1.105.2.2  +21 -2     src/sys/dev/vn/Attic/vn.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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