From a69aaa772119d359e38760dd0e931bed9afb88bf Mon Sep 17 00:00:00 2001 From: glebius Date: Tue, 4 Dec 2012 09:32:43 +0000 Subject: Mechanically substitute flags from historic mbuf allocator with malloc(9) flags in sys/dev. --- sys/dev/lge/if_lge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/lge/if_lge.c') diff --git a/sys/dev/lge/if_lge.c b/sys/dev/lge/if_lge.c index 09ceea1..d994867 100644 --- a/sys/dev/lge/if_lge.c +++ b/sys/dev/lge/if_lge.c @@ -691,7 +691,7 @@ lge_newbuf(sc, c, m) caddr_t *buf = NULL; if (m == NULL) { - MGETHDR(m_new, M_DONTWAIT, MT_DATA); + MGETHDR(m_new, M_NOWAIT, MT_DATA); if (m_new == NULL) { device_printf(sc->lge_dev, "no memory for rx list " "-- packet dropped!\n"); -- cgit v1.1