diff options
author | kmacy <kmacy@FreeBSD.org> | 2007-12-16 05:14:25 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2007-12-16 05:14:25 +0000 |
commit | 8befa00c4d32d328abc6def8236202d4b0591d40 (patch) | |
tree | 7dd41487ce2598d1124b45875c463007f6c34fef /sys | |
parent | ad0e83b9a684cf03ac7200ecfec5f94db30a740d (diff) | |
download | FreeBSD-src-8befa00c4d32d328abc6def8236202d4b0591d40.zip FreeBSD-src-8befa00c4d32d328abc6def8236202d4b0591d40.tar.gz |
Sanitize of a routine that is going away
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/cxgb/cxgb_sge.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/cxgb/cxgb_sge.c b/sys/dev/cxgb/cxgb_sge.c index 63e24f8..e26e509 100644 --- a/sys/dev/cxgb/cxgb_sge.c +++ b/sys/dev/cxgb/cxgb_sge.c @@ -853,7 +853,7 @@ reclaim_more: return; for (i = 0; i < n; i++) { - m_freem_vec(m_vec[i]); + m_freem(m_vec[i]); } if (p && p->ifp->if_drv_flags & IFF_DRV_OACTIVE && txq->size - txq->in_use >= TX_START_MAX_DESC) { @@ -995,7 +995,7 @@ busdma_map_mbufs(struct mbuf **m, struct sge_txq *txq, m0 = *m; pktlen = m0->m_pkthdr.len; - err = bus_dmamap_load_mvec_sg(txq->entry_tag, stx->map, m0, segs, nsegs, 0); + err = bus_dmamap_load_mbuf_sg(txq->entry_tag, stx->map, m0, segs, nsegs, 0); #ifdef DEBUG if (err) { int n = 0; @@ -1027,7 +1027,7 @@ busdma_map_mbufs(struct mbuf **m, struct sge_txq *txq, if (err) { if (cxgb_debug) printf("map failure err=%d pktlen=%d\n", err, pktlen); - m_freem_vec(m0); + m_freem(m0); *m = NULL; return (err); } @@ -1882,7 +1882,7 @@ again: cleaned = reclaim_completed_tx(q, TX_CLEAN_MAX_DESC, m_vec); check_ring_tx_db(adap, q); for (i = 0; i < cleaned; i++) { - m_freem_vec(m_vec[i]); + m_freem(m_vec[i]); } return (0); } @@ -1949,7 +1949,7 @@ again: cleaned = reclaim_completed_tx(q, TX_CLEAN_MAX_DESC, m_vec); F_SELEGRCNTX | V_EGRCNTX(q->cntxt_id)); for (i = 0; i < cleaned; i++) { - m_freem_vec(m_vec[i]); + m_freem(m_vec[i]); } } |