Date: Fri, 27 Mar 2009 15:19:52 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r190467 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb dev/my Message-ID: <200903271519.n2RFJqA4064323@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Fri Mar 27 15:19:51 2009 New Revision: 190467 URL: http://svn.freebsd.org/changeset/base/190467 Log: MFC: Release driver lock at the end of the watchdog routine instead of trying to acquire it again. Approved by: re (kib) Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/ (props changed) stable/7/sys/dev/cxgb/ (props changed) stable/7/sys/dev/my/if_my.c Modified: stable/7/sys/dev/my/if_my.c ============================================================================== --- stable/7/sys/dev/my/if_my.c Fri Mar 27 13:13:59 2009 (r190466) +++ stable/7/sys/dev/my/if_my.c Fri Mar 27 15:19:51 2009 (r190467) @@ -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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903271519.n2RFJqA4064323>