summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-10-27 07:15:22 +0000
committerume <ume@FreeBSD.org>2003-10-27 07:15:22 +0000
commitd382f2f6926d010510a442680911a9a2fd754cb7 (patch)
tree490647065c80ef2c0a277973da2d3706770218e6 /sys
parentd270e076a6cf5068e069f059428ebc01d811ae13 (diff)
downloadFreeBSD-src-d382f2f6926d010510a442680911a9a2fd754cb7.zip
FreeBSD-src-d382f2f6926d010510a442680911a9a2fd754cb7.tar.gz
M_DONTWAIT was passed into malloc().
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet6/frag6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/frag6.c b/sys/netinet6/frag6.c
index 39189ed..121307d 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));
OpenPOWER on IntegriCloud