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)
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)