Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jan 2009 10:56:10 +0000 (UTC)
From:      Christian Brueffer <brueffer@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186715 - head/sys/dev/pcn
Message-ID:  <200901031056.n03AuAfG025989@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brueffer
Date: Sat Jan  3 10:56:10 2009
New Revision: 186715
URL: http://svn.freebsd.org/changeset/base/186715

Log:
  Call pcn_start_locked() instead of pcn_start() where the softc lock is
  already held.
  
  Approved by:	rwatson (mentor)
  MFC after:	3 weeks

Modified:
  head/sys/dev/pcn/if_pcn.c

Modified: head/sys/dev/pcn/if_pcn.c
==============================================================================
--- head/sys/dev/pcn/if_pcn.c	Sat Jan  3 10:37:38 2009	(r186714)
+++ head/sys/dev/pcn/if_pcn.c	Sat Jan  3 10:56:10 2009	(r186715)
@@ -1446,7 +1446,7 @@ pcn_watchdog(ifp)
 	pcn_init_locked(sc);
 
 	if (ifp->if_snd.ifq_head != NULL)
-		pcn_start(ifp);
+		pcn_start_locked(ifp);
 
 	PCN_UNLOCK(sc);
 



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