summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_rdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/if_rdp.c')
-rw-r--r--sys/i386/isa/if_rdp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/if_rdp.c b/sys/i386/isa/if_rdp.c
index 84cd174..574d3e7 100644
--- a/sys/i386/isa/if_rdp.c
+++ b/sys/i386/isa/if_rdp.c
@@ -1095,7 +1095,7 @@ rdp_get_packet(struct rdp_softc *sc, unsigned len)
size_t s;
/* Allocate a header mbuf */
- MGETHDR(m, M_NOWAIT, MT_DATA);
+ MGETHDR(m, M_DONTWAIT, MT_DATA);
if (m == NULL)
return;
m->m_pkthdr.rcvif = ifp;
@@ -1109,7 +1109,7 @@ rdp_get_packet(struct rdp_softc *sc, unsigned len)
*/
if ((len + ETHER_ALIGN) > MHLEN) {
/* Attach an mbuf cluster */
- MCLGET(m, M_NOWAIT);
+ MCLGET(m, M_DONTWAIT);
/* Insist on getting a cluster */
if ((m->m_flags & M_EXT) == 0) {
OpenPOWER on IntegriCloud