PERFORCE change 133369 for review
Sam Leffler
sam at FreeBSD.org
Tue Jan 15 15:30:30 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=133369
Change 133369 by sam at sam_ebb on 2008/01/15 23:30:17
must hold mtx over callout_stop when callout setup with init_mtx
Affected files ...
.. //depot/projects/vap/sys/dev/ral/rt2560.c#6 edit
.. //depot/projects/vap/sys/dev/ral/rt2661.c#6 edit
Differences ...
==== //depot/projects/vap/sys/dev/ral/rt2560.c#6 (text) ====
@@ -348,6 +348,7 @@
struct ifnet *ifp = ic->ic_ifp;
rt2560_stop(sc);
+ RAL_LOCK(sc);
callout_stop(&sc->watchdog_ch);
callout_stop(&sc->rssadapt_ch);
==== //depot/projects/vap/sys/dev/ral/rt2661.c#6 (text) ====
@@ -365,7 +365,8 @@
struct ieee80211com *ic = &sc->sc_ic;
struct ifnet *ifp = ic->ic_ifp;
- rt2661_stop(sc);
+ RAL_LOCK(sc);
+ rt2661_stop_locked(sc);
callout_stop(&sc->watchdog_ch);
callout_stop(&sc->rssadapt_ch);
More information about the p4-projects
mailing list