From 12416923345ab3f16093120934f5da2f285e3ca3 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 23 Mar 2009 17:51:07 +0000 Subject: [PATCH] Release driver lock at the end of the watchdog routine instead of trying to acquire it again. Submitted by: bland MFC after: 3 days --- sys/dev/my/if_my.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/my/if_my.c b/sys/dev/my/if_my.c index 65c0dcc15dd..b25ae22abb9 100644 --- a/sys/dev/my/if_my.c +++ b/sys/dev/my/if_my.c @@ -1700,7 +1700,7 @@ my_watchdog(struct ifnet * ifp) my_init_locked(sc); if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) my_start_locked(ifp); - MY_LOCK(sc); + MY_UNLOCK(sc); return; }