svn commit: r190325 - head/sys/dev/my

John Baldwin jhb at FreeBSD.org
Mon Mar 23 10:51:08 PDT 2009


Author: jhb
Date: Mon Mar 23 17:51:07 2009
New Revision: 190325
URL: http://svn.freebsd.org/changeset/base/190325

Log:
  Release driver lock at the end of the watchdog routine instead of trying to
  acquire it again.
  
  Submitted by:	bland
  MFC after:	3 days

Modified:
  head/sys/dev/my/if_my.c

Modified: head/sys/dev/my/if_my.c
==============================================================================
--- head/sys/dev/my/if_my.c	Mon Mar 23 16:49:00 2009	(r190324)
+++ head/sys/dev/my/if_my.c	Mon Mar 23 17:51:07 2009	(r190325)
@@ -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;
 }
 


More information about the svn-src-all mailing list