summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2011-01-12 22:24:07 +0000
committeryongari <yongari@FreeBSD.org>2011-01-12 22:24:07 +0000
commit6571f042512c883da9e73ddc76b2a0a4f28bde0c (patch)
treee8ce6959cff8ff2a4cc2d22663800c296a5484aa
parent30a663c80840465ec1e8372404e0d87ef4c9d07d (diff)
downloadFreeBSD-src-6571f042512c883da9e73ddc76b2a0a4f28bde0c.zip
FreeBSD-src-6571f042512c883da9e73ddc76b2a0a4f28bde0c.tar.gz
Make sure to invoke unlocked foo_start since the taskqueue does not
hold a driver lock. This should fix a regression introduced in r216925. PR: kern/153769
-rw-r--r--sys/dev/alc/if_alc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/alc/if_alc.c b/sys/dev/alc/if_alc.c
index d50cfe7..d126a07 100644
--- a/sys/dev/alc/if_alc.c
+++ b/sys/dev/alc/if_alc.c
@@ -2706,7 +2706,7 @@ alc_int_task(void *arg, int pending)
}
if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0 &&
!IFQ_DRV_IS_EMPTY(&ifp->if_snd))
- alc_start_locked(ifp);
+ alc_start(ifp);
}
if (more == EAGAIN ||
OpenPOWER on IntegriCloud