Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Sep 2005 06:36:00 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/bge if_bge.c
Message-ID:  <200509040636.j846a0Gx033279@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2005-09-04 06:36:00 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/bge          if_bge.c 
  Log:
  When bge_stop() is called from bge_detach(), mii is already NULL, so check
  before trying to use it.
  This fix allows to 'kldunload if_bge' without panicing.
  
  Reviewed by:    bz
  MFC after:      3 days
  
  Revision  Changes    Path
  1.94      +10 -5     src/sys/dev/bge/if_bge.c



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