summaryrefslogtreecommitdiff
path: root/sys/dev/de
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2013-03-09 00:39:54 +0000
committerMarius Strobl <marius@FreeBSD.org>2013-03-09 00:39:54 +0000
commit03abd02e1efa33cbb430b395dfdf238e8f3a5f60 (patch)
tree19037928e8c4737e3e8b2f301b02e2dc3f1cbe2c /sys/dev/de
parent8a7ea4191d4ca8309d2166747dc29754e65d046e (diff)
Notes
Diffstat (limited to 'sys/dev/de')
-rw-r--r--sys/dev/de/if_de.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c
index f25ef194a02a..a1cb0e77990d 100644
--- a/sys/dev/de/if_de.c
+++ b/sys/dev/de/if_de.c
@@ -257,7 +257,7 @@ tulip_txprobe(tulip_softc_t * const sc)
* to verify the connectivity.
*/
TULIP_LOCK_ASSERT(sc);
- MGETHDR(m, M_DONTWAIT, MT_DATA);
+ MGETHDR(m, M_NOWAIT, MT_DATA);
if (m == NULL)
return 0;
/*
@@ -3517,7 +3517,7 @@ tulip_rx_intr(tulip_softc_t * const sc)
ms->m_pkthdr.len = total_len;
ms->m_pkthdr.rcvif = ifp;
m0 = ms;
- ms = m_getcl(M_DONTWAIT, MT_DATA, M_PKTHDR);
+ ms = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR);
#endif
TULIP_UNLOCK(sc);
CTR1(KTR_TULIP, "tulip_rx_intr: passing %p to upper layer", m0);
@@ -3528,7 +3528,7 @@ tulip_rx_intr(tulip_softc_t * const sc)
* If we are priming the TULIP with mbufs, then allocate
* a new cluster for the next descriptor.
*/
- ms = m_getcl(M_DONTWAIT, MT_DATA, M_PKTHDR);
+ ms = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR);
#ifndef __NO_STRICT_ALIGNMENT
skip_input:
@@ -3970,7 +3970,7 @@ tulip_txput(tulip_softc_t * const sc, struct mbuf *m)
* to recopy it into one mbuf and then try again. If
* we can't recopy it, try again later.
*/
- m0 = m_defrag(m, M_DONTWAIT);
+ m0 = m_defrag(m, M_NOWAIT);
if (m0 == NULL) {
sc->tulip_flags |= TULIP_WANTTXSTART;
#if defined(TULIP_DEBUG)