summaryrefslogtreecommitdiffstats
path: root/sys/dev/sfxge/sfxge_tx.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-12-04 09:32:43 +0000
committerglebius <glebius@FreeBSD.org>2012-12-04 09:32:43 +0000
commita69aaa772119d359e38760dd0e931bed9afb88bf (patch)
tree30c414dead3eba042cad7b6cbb32d1c9cba96149 /sys/dev/sfxge/sfxge_tx.c
parent75a08a975ae27f7cf7af6db9f5ee6e87136be40d (diff)
downloadFreeBSD-src-a69aaa772119d359e38760dd0e931bed9afb88bf.zip
FreeBSD-src-a69aaa772119d359e38760dd0e931bed9afb88bf.tar.gz
Mechanically substitute flags from historic mbuf allocator with
malloc(9) flags in sys/dev.
Diffstat (limited to 'sys/dev/sfxge/sfxge_tx.c')
-rw-r--r--sys/dev/sfxge/sfxge_tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sfxge/sfxge_tx.c b/sys/dev/sfxge/sfxge_tx.c
index 801787a..33f26d9 100644
--- a/sys/dev/sfxge/sfxge_tx.c
+++ b/sys/dev/sfxge/sfxge_tx.c
@@ -262,7 +262,7 @@ static int sfxge_tx_queue_mbuf(struct sfxge_txq *txq, struct mbuf *mbuf)
mbuf, dma_seg, &n_dma_seg, 0);
if (rc == EFBIG) {
/* Try again. */
- struct mbuf *new_mbuf = m_collapse(mbuf, M_DONTWAIT,
+ struct mbuf *new_mbuf = m_collapse(mbuf, M_NOWAIT,
SFXGE_TX_MAPPING_MAX_SEG);
if (new_mbuf == NULL)
goto reject;
OpenPOWER on IntegriCloud