Add missing if_free() in rue_detach().
This commit is contained in:
parent
c1f3701ab8
commit
ec39fdd014
@ -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