summaryrefslogtreecommitdiffstats
path: root/sys/dev/lmc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/lmc')
-rw-r--r--sys/dev/lmc/if_lmc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/lmc/if_lmc.c b/sys/dev/lmc/if_lmc.c
index 68fce90..83250cf 100644
--- a/sys/dev/lmc/if_lmc.c
+++ b/sys/dev/lmc/if_lmc.c
@@ -621,9 +621,9 @@ lmc_rx_intr(lmc_softc_t * const sc)
*/
if (accept || ms == NULL) {
struct mbuf *m0;
- MGETHDR(m0, M_NOWAIT, MT_DATA);
+ MGETHDR(m0, M_DONTWAIT, MT_DATA);
if (m0 != NULL) {
- MCLGET(m0, M_NOWAIT);
+ MCLGET(m0, M_DONTWAIT);
if ((m0->m_flags & M_EXT) == 0) {
m_freem(m0);
m0 = NULL;
@@ -830,10 +830,10 @@ lmc_mbuf_compress(struct mbuf *m)
{
struct mbuf *m0;
#if MCLBYTES >= LMC_MTU + PPP_HEADER_LEN && !defined(BIG_PACKET)
- MGETHDR(m0, M_NOWAIT, MT_DATA);
+ MGETHDR(m0, M_DONTWAIT, MT_DATA);
if (m0 != NULL) {
if (m->m_pkthdr.len > MHLEN) {
- MCLGET(m0, M_NOWAIT);
+ MCLGET(m0, M_DONTWAIT);
if ((m0->m_flags & M_EXT) == 0) {
m_freem(m);
m_freem(m0);
@@ -850,9 +850,9 @@ lmc_mbuf_compress(struct mbuf *m)
while (len > 0) {
if (mlen == MHLEN) {
- MGETHDR(*mp, M_NOWAIT, MT_DATA);
+ MGETHDR(*mp, M_DONTWAIT, MT_DATA);
} else {
- MGET(*mp, M_NOWAIT, MT_DATA);
+ MGET(*mp, M_DONTWAIT, MT_DATA);
}
if (*mp == NULL) {
m_freem(m0);
@@ -860,7 +860,7 @@ lmc_mbuf_compress(struct mbuf *m)
break;
}
if (len > MLEN) {
- MCLGET(*mp, M_NOWAIT);
+ MCLGET(*mp, M_DONTWAIT);
if (((*mp)->m_flags & M_EXT) == 0) {
m_freem(m0);
m0 = NULL;
OpenPOWER on IntegriCloud