freebsd11_network: Rework uninitialization order.

It is now in the exact reverse order of initialization. Untested,
but may help with some strange KDLs.
This commit is contained in:
Augustin Cavalier 2018-08-26 14:15:09 -04:00
parent 8636e31a55
commit e55dd14050

View File

@ -283,11 +283,11 @@ _fbsd_uninit_drivers(driver_t *drivers[])
}
uninit_wlan_stack();
uninit_bounce_pages();
uninit_mbufs();
if (HAIKU_DRIVER_REQUIRES(FBSD_TASKQUEUES))
uninit_taskqueues();
uninit_bounce_pages();
uninit_callout();
uninit_mbufs();
uninit_mutexes();
uninit_hard_clock();