summaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorGleydson Soares <gsoares@cvs.openbsd.org>2012-12-28 17:52:07 +0000
committerGleydson Soares <gsoares@cvs.openbsd.org>2012-12-28 17:52:07 +0000
commite84d23b44e4b046fd8383e3aba883ebb280603f2 (patch)
tree978bc9237161622d7a018ca3912341efce929ecc /sys/netinet6
parentf7544cb61de7d175e1e2ec4a9c08884f9f86c8a8 (diff)
change the malloc(9) flags from M_DONTWAIT to M_NOWAIT; OK millert@
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/frag6.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/frag6.c b/sys/netinet6/frag6.c
index 5f8b007d2ce..5ddcedb2e8b 100644
--- a/sys/netinet6/frag6.c
+++ b/sys/netinet6/frag6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: frag6.c,v 1.42 2012/01/24 19:08:46 bluhm Exp $ */
+/* $OpenBSD: frag6.c,v 1.43 2012/12/28 17:52:06 gsoares Exp $ */
/* $KAME: frag6.c,v 1.40 2002/05/27 21:40:31 itojun Exp $ */
/*
@@ -285,7 +285,7 @@ frag6_input(struct mbuf **mp, int *offp, int proto)
else if (frag6_nfragpackets >= (u_int)ip6_maxfragpackets)
goto dropfrag;
frag6_nfragpackets++;
- q6 = malloc(sizeof(*q6), M_FTABLE, M_DONTWAIT | M_ZERO);
+ q6 = malloc(sizeof(*q6), M_FTABLE, M_NOWAIT | M_ZERO);
if (q6 == NULL)
goto dropfrag;
@@ -367,7 +367,7 @@ frag6_input(struct mbuf **mp, int *offp, int proto)
}
}
- ip6af = malloc(sizeof(*ip6af), M_FTABLE, M_DONTWAIT | M_ZERO);
+ ip6af = malloc(sizeof(*ip6af), M_FTABLE, M_NOWAIT | M_ZERO);
if (ip6af == NULL)
goto dropfrag;
ip6af->ip6af_flow = ip6->ip6_flow;