Date: Thu, 9 Mar 2006 22:21:40 GMT From: Olivier Houchard <cognet@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 93073 for review Message-ID: <200603092221.k29MLefK036473@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=93073 Change 93073 by cognet@cognet on 2006/03/09 22:21:05 Bring back the code responsible for setting the mbuf len. Affected files ... .. //depot/projects/arm/src/sys/arm/at91/if_ate.c#34 edit Differences ... ==== //depot/projects/arm/src/sys/arm/at91/if_ate.c#34 (text+ko) ==== @@ -630,6 +630,8 @@ * the new buffer is loaded for dma. */ sc->rx_mbuf[i] = m_getcl(M_DONTWAIT, MT_DATA, M_PKTHDR); + sc->rx_mbuf[i]->m_len = + sc->rx_mbuf[i]->m_pkthdr.len = MCLBYTES; if (!sc->rx_mbuf[i]) { printf("Failed to get another mbuf -- discarding packet\n"); sc->rx_mbuf[i] = mb;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603092221.k29MLefK036473>