From d61f592d9b3bdff75a45ab00e2a73ef6f717e953 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 29 Sep 2013 22:10:54 +0200 Subject: [PATCH] freebsd_network(): call uninit_hard_clock() on uninit Not uninstalling the timer hook could lead to a crash after unloading/ reloading the driver. --- src/libs/compat/freebsd_network/driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/compat/freebsd_network/driver.c b/src/libs/compat/freebsd_network/driver.c index 886e500984..80b02f5aeb 100644 --- a/src/libs/compat/freebsd_network/driver.c +++ b/src/libs/compat/freebsd_network/driver.c @@ -266,6 +266,7 @@ _fbsd_uninit_drivers(driver_t *drivers[]) uninit_taskqueues(); uninit_callout(); uninit_mutexes(); + uninit_hard_clock(); put_module(B_PCI_MODULE_NAME); if (gPCIx86 != NULL)