PERFORCE change 128330 for review
Tai-hwa Liang
avatar at FreeBSD.org
Tue Oct 30 05:07:59 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=128330
Change 128330 by avatar at avatar_t40 on 2007/10/30 12:07:46
an_stats_update() should not go any further after the device is
detached. This fixes the card removal panic reported by user.
Reported by: dhw (http://lists.freebsd.org/pipermail/freebsd-current/2007-October/078937.html)
Tested by: dhw
MFP4 after: 3 days
Affected files ...
.. //depot/projects/wifi/sys/dev/an/if_an.c#19 edit
Differences ...
==== //depot/projects/wifi/sys/dev/an/if_an.c#19 (text+ko) ====
@@ -1151,6 +1151,12 @@
sc = xsc;
AN_LOCK(sc);
+
+ if (sc->an_gone) {
+ AN_UNLOCK(sc);
+ return;
+ }
+
ifp = sc->an_ifp;
sc->an_status.an_type = AN_RID_STATUS;
More information about the p4-projects
mailing list