summaryrefslogtreecommitdiffstats
path: root/sys/dev/ti
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-08-14 15:45:03 +0000
committerwpaul <wpaul@FreeBSD.org>1999-08-14 15:45:03 +0000
commit07238fa7c9959b3b16bc47e80080f050f3e0e97c (patch)
treefe3a730d1a6c086f13805e9e0832a677cc9f005f /sys/dev/ti
parent6fa2e3ae681ad7b9faec289dd3e581fad4386474 (diff)
downloadFreeBSD-src-07238fa7c9959b3b16bc47e80080f050f3e0e97c.zip
FreeBSD-src-07238fa7c9959b3b16bc47e80080f050f3e0e97c.tar.gz
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>
Diffstat (limited to 'sys/dev/ti')
-rw-r--r--sys/dev/ti/if_ti.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index 76bb8df..c83deef 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;
OpenPOWER on IntegriCloud