Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2011 22:24:07 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r217331 - head/sys/dev/alc
Message-ID:  <201101122224.p0CMO7si018909@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 ||



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101122224.p0CMO7si018909>