aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sn
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2012-12-04 09:32:43 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2012-12-04 09:32:43 +0000
commitc6499eccad497913a5025fbde8ae76da70e08043 (patch)
tree30c414dead3eba042cad7b6cbb32d1c9cba96149 /sys/dev/sn
parent8ca5c3fae7d077e4e6460a251160585709f6e37e (diff)
downloadsrc-c6499eccad497913a5025fbde8ae76da70e08043.tar.gz
src-c6499eccad497913a5025fbde8ae76da70e08043.zip
Mechanically substitute flags from historic mbuf allocator with
malloc(9) flags in sys/dev.
Notes
Notes: svn path=/head/; revision=243857
Diffstat (limited to 'sys/dev/sn')
-rw-r--r--sys/dev/sn/if_sn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sn/if_sn.c b/sys/dev/sn/if_sn.c
index 8aef549dcc15..d7cc20d0b611 100644
--- a/sys/dev/sn/if_sn.c
+++ b/sys/dev/sn/if_sn.c
@@ -1056,7 +1056,7 @@ read_another:
/*
* Allocate a header mbuf from the kernel.
*/
- MGETHDR(m, M_DONTWAIT, MT_DATA);
+ MGETHDR(m, M_NOWAIT, MT_DATA);
if (m == NULL)
goto out;
@@ -1066,7 +1066,7 @@ read_another:
/*
* Attach an mbuf cluster
*/
- MCLGET(m, M_DONTWAIT);
+ MCLGET(m, M_NOWAIT);
/*
* Insist on getting a cluster