From 8c0dd0e43846d6926f2ea689cffc898fb78a3f52 Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Mon, 27 Oct 2003 07:15:22 +0000 Subject: [PATCH] M_DONTWAIT was passed into malloc(). Submitted by: Ian Dowse --- sys/netinet6/frag6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet6/frag6.c b/sys/netinet6/frag6.c index 39189ed31a3..121307df5d6 100644 --- a/sys/netinet6/frag6.c +++ b/sys/netinet6/frag6.c @@ -252,7 +252,7 @@ frag6_input(mp, offp, proto) goto dropfrag; frag6_nfragpackets++; q6 = (struct ip6q *)malloc(sizeof(struct ip6q), M_FTABLE, - M_DONTWAIT); + M_NOWAIT); if (q6 == NULL) goto dropfrag; bzero(q6, sizeof(*q6)); @@ -345,7 +345,7 @@ frag6_input(mp, offp, proto) } ip6af = (struct ip6asfrag *)malloc(sizeof(struct ip6asfrag), M_FTABLE, - M_DONTWAIT); + M_NOWAIT); if (ip6af == NULL) goto dropfrag; bzero(ip6af, sizeof(*ip6af));