Add missing if_free() in rue_detach().
This commit is contained in:
parent
dca2069084
commit
94a7d18b08
@ -735,6 +735,7 @@ rue_detach(device_ptr_t dev)
|
||||
untimeout(rue_tick, sc, sc->rue_stat_ch);
|
||||
#if __FreeBSD_version >= 500000
|
||||
ether_ifdetach(ifp);
|
||||
if_free(ifp);
|
||||
#else
|
||||
ether_ifdetach(ifp, ETHER_BPF_SUPPORTED);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user