Date: Wed, 18 Feb 2009 19:02:41 GMT From: Julian Elischer <julian@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 157903 for review Message-ID: <200902181902.n1IJ2fmh001351@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=157903 Change 157903 by julian@julian_trafmon1 on 2009/02/18 19:02:37 make epair compile may not be correct Affected files ... .. //depot/projects/vimage/src/sys/net/if_epair.c#4 edit Differences ... ==== //depot/projects/vimage/src/sys/net/if_epair.c#4 (text+ko) ==== @@ -323,12 +323,12 @@ #ifdef ALTQ /* Support ALTQ via the clasic if_start() path. */ - IF_LOCK(ifq); + IF_LOCK(&epairinq); if (ALTQ_IS_ENABLED(&ifp->if_snd)) { ALTQ_ENQUEUE(&ifp->if_snd, m, NULL, error); if (error) ifp->if_snd.ifq_drops++; - IF_UNLOCK(ifq); + IF_UNLOCK(&epairinq); if (!error) { ifp->if_obytes += len; if (mflags & (M_BCAST|M_MCAST)) @@ -341,7 +341,7 @@ } return (error); } - IF_UNLOCK(ifq); + IF_UNLOCK(&epairinq); #endif if ((epair_drv_flags & IFF_DRV_OACTIVE) != 0) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902181902.n1IJ2fmh001351>
