svn commit: r217331 - head/sys/dev/alc

Pyun YongHyeon yongari at FreeBSD.org
Wed Jan 12 22:24:07 UTC 2011


Author: yongari
Date: Wed Jan 12 22:24:07 2011
New Revision: 217331
URL: http://svn.freebsd.org/changeset/base/217331

Log:
  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

Modified:
  head/sys/dev/alc/if_alc.c

Modified: head/sys/dev/alc/if_alc.c
==============================================================================
--- head/sys/dev/alc/if_alc.c	Wed Jan 12 21:08:49 2011	(r217330)
+++ head/sys/dev/alc/if_alc.c	Wed Jan 12 22:24:07 2011	(r217331)
@@ -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 ||


More information about the svn-src-all mailing list