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

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Sep 15 07:10:42 PDT 2005


pjd         2005-09-15 14:10:41 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/bge          if_bge.c 
  Log:
  MFC:    sys/dev/bge/if_bge.c    1.94
  
  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
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.91.2.3  +10 -5     src/sys/dev/bge/if_bge.c


More information about the cvs-src mailing list