In re_detach(), remove an extra call to ether_ifdetach().
This fixes a panic that occurs when unloading the kernel module. MFC after: 3 days
This commit is contained in:
parent
2fa9a15eca
commit
1861b3421b
@ -1284,7 +1284,6 @@ re_detach(dev)
|
||||
* anymore.
|
||||
*/
|
||||
ifp->if_flags &= ~IFF_UP;
|
||||
ether_ifdetach(ifp);
|
||||
}
|
||||
if (sc->rl_miibus)
|
||||
device_delete_child(dev, sc->rl_miibus);
|
||||
|
Loading…
Reference in New Issue
Block a user