Minor glitch in ti_newbuf_jumbo(): m_adj() was being called on

m instead of m_new.

Submitted by: Kenneth D. Merry <ken@kdm.org>
This commit is contained in:
Bill Paul 1999-08-14 15:45:03 +00:00
parent 49b046bdf4
commit 2b028af745
2 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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;