Date: Fri, 1 Aug 2003 14:19:26 -0700 (PDT) From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 35361 for review Message-ID: <200308012119.h71LJQnj024967@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=35361 Change 35361 by sam@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308012119.h71LJQnj024967>