Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2005 20:40:30 +0000 (UTC)
From:      John Polstra <jdp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_linker.c
Message-ID:  <200510192040.j9JKeUs5017573@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jdp         2005-10-19 20:40:30 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_linker.c 
  Log:
  Fix a bug in the kernel module runtime linker that made it impossible
  to unload the usb.ko module after boot if it was originally preloaded
  from "/boot/loader.conf".  When processing preloaded modules, the
  linker erroneously added self-dependencies the each module's reference
  count.  That prevented usb.ko's reference count from ever going to 0,
  so it could not be unloaded.
  
  Sponsored by Isilon Systems.
  
  Reviewed by:    pjd, peter
  MFC after:      1 week
  
  Revision  Changes    Path
  1.118     +3 -0      src/sys/kern/kern_linker.c



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