cvs commit: src/sys/dev/bge if_bge.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Sep 3 23:36:00 PDT 2005


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


More information about the cvs-src mailing list