DragonFly submit List (threaded) for 2006-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
if_awi invalid serializer arg
Hi,
this patch fix invalid lwkt_serialize_(exnter|exit) argument
Index: /usr/src1/sys/dev/netif/awi/if_awi_pccard.c
===================================================================
RCS file: /mnt/share/dragonfly-cvs/src/sys/dev/netif/awi/if_awi_pccard.c,v
retrieving revision 1.15
diff -u -r1.15 if_awi_pccard.c
--- /usr/src1/sys/dev/netif/awi/if_awi_pccard.c 31 Dec 2005 14:07:58 -0000 1.15
+++ /usr/src1/sys/dev/netif/awi/if_awi_pccard.c 18 Jan 2006 13:01:58 -0000
@@ -239,13 +239,13 @@
struct awi_softc *sc = &psc->sc_awi;
struct ifnet *ifp = &sc->sc_ec.ac_if;
- lwkt_serialize_enter(&ifp->if_serializer);
+ lwkt_serialize_enter(ifp->if_serializer);
ifp->if_flags &= ~IFF_RUNNING;
if (psc->sc_intrhand) {
bus_teardown_intr(dev, psc->sc_irq_res, psc->sc_intrhand);
psc->sc_intrhand = 0;
}
- lwkt_serialize_exit(&ifp->if_serializer);
+ lwkt_serialize_exit(ifp->if_serializer);
ether_ifdetach(ifp);
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]