PERFORCE change 35361 for review
Sam Leffler
sam at FreeBSD.org
Fri Aug 1 14:19:28 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=35361
Change 35361 by sam at sam_ebb on 2003/08/01 14:19:06
release+acquire the driver lock around if_input to avoid
deadlock on re-entry (to be fixed with the other drivers
in a separate pass)
Affected files ...
.. //depot/projects/netperf/sys/pci/if_sis.c#3 edit
Differences ...
==== //depot/projects/netperf/sys/pci/if_sis.c#3 (text+ko) ====
@@ -1650,7 +1650,9 @@
ifp->if_ipackets++;
m->m_pkthdr.rcvif = ifp;
+ SIS_UNLOCK(sc);
(*ifp->if_input)(ifp, m);
+ SIS_LOCK(sc);
}
sc->sis_cdata.sis_rx_prod = i;
More information about the p4-projects
mailing list