Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2011 09:58:41 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern kern_linker.c
Message-ID:  <201101050958.p059wp2Y088299@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
trasz       2011-01-05 09:58:41 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_linker.c 
  Log:
  SVN rev 216988 on 2011-01-05 09:58:41Z by trasz
  
  Fix page fault that occurred when trying to initialize preloaded kernel module,
  the dependency of which was preloaded, but failed to initialize.  Previously,
  kernel dereferenced NULL pointer returned by modlist_lookup2(); now, when this
  happens, we unload the dependent module.  Since the depended_files list is
  sorted in dependency order, this properly propagates, unloading modules that
  depend on failed ones.
  
  From the user point of view, this prevents the kernel from panicing when
  trying to boot kernel compiled without KDTRACE_HOOKS with dtraceall_load="YES"
  in /boot/loader.conf.
  
  Reviewed by:    kib
  
  Revision  Changes    Path
  1.181     +11 -3     src/sys/kern/kern_linker.c



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