From 8e20fa5ae93243e19700ca06c01524b90fe3b784 Mon Sep 17 00:00:00 2001 From: glebius Date: Wed, 5 Dec 2012 08:04:20 +0000 Subject: Mechanically substitute flags from historic mbuf allocator with malloc(9) flags within sys. Exceptions: - sys/contrib not touched - sys/mbuf.h edited manually --- sys/netnatm/natm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netnatm') diff --git a/sys/netnatm/natm.c b/sys/netnatm/natm.c index cfcbaa7..681da9c 100644 --- a/sys/netnatm/natm.c +++ b/sys/netnatm/natm.c @@ -292,7 +292,7 @@ natm_usr_send(struct socket *so, int flags, struct mbuf *m, /* * Send the data. We must put an atm_pseudohdr on first. */ - M_PREPEND(m, sizeof(*aph), M_DONTWAIT); + M_PREPEND(m, sizeof(*aph), M_NOWAIT); if (m == NULL) { NATM_UNLOCK(); m_freem(control); -- cgit v1.1