From 2b028af745428e47d0a74f371623a30a54ba4060 Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Sat, 14 Aug 1999 15:45:03 +0000 Subject: [PATCH] Minor glitch in ti_newbuf_jumbo(): m_adj() was being called on m instead of m_new. Submitted by: Kenneth D. Merry --- sys/dev/ti/if_ti.c | 6 +++--- sys/pci/if_ti.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index 76bb8dfaea22..c83deefacdd5 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_ti.c,v 1.13 1999/07/25 06:46:19 peter Exp $ + * $Id: if_ti.c,v 1.14 1999/07/27 13:54:15 wpaul Exp $ */ /* @@ -131,7 +131,7 @@ #if !defined(lint) static const char rcsid[] = - "$Id: if_ti.c,v 1.13 1999/07/25 06:46:19 peter Exp $"; + "$Id: if_ti.c,v 1.14 1999/07/27 13:54:15 wpaul Exp $"; #endif /* @@ -890,7 +890,7 @@ static int ti_newbuf_jumbo(sc, i, m) m_new->m_ext.ext_size = TI_JUMBO_FRAMELEN; } - m_adj(m, ETHER_ALIGN); + m_adj(m_new, ETHER_ALIGN); /* Set up the descriptor. */ r = &sc->ti_rdata->ti_rx_jumbo_ring[i]; sc->ti_cdata.ti_rx_jumbo_chain[i] = m_new; diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c index 76bb8dfaea22..c83deefacdd5 100644 --- a/sys/pci/if_ti.c +++ b/sys/pci/if_ti.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_ti.c,v 1.13 1999/07/25 06:46:19 peter Exp $ + * $Id: if_ti.c,v 1.14 1999/07/27 13:54:15 wpaul Exp $ */ /* @@ -131,7 +131,7 @@ #if !defined(lint) static const char rcsid[] = - "$Id: if_ti.c,v 1.13 1999/07/25 06:46:19 peter Exp $"; + "$Id: if_ti.c,v 1.14 1999/07/27 13:54:15 wpaul Exp $"; #endif /* @@ -890,7 +890,7 @@ static int ti_newbuf_jumbo(sc, i, m) m_new->m_ext.ext_size = TI_JUMBO_FRAMELEN; } - m_adj(m, ETHER_ALIGN); + m_adj(m_new, ETHER_ALIGN); /* Set up the descriptor. */ r = &sc->ti_rdata->ti_rx_jumbo_ring[i]; sc->ti_cdata.ti_rx_jumbo_chain[i] = m_new;