summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_input.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-03-12 06:08:48 +0000
committersam <sam@FreeBSD.org>2003-03-12 06:08:48 +0000
commit69e554e17fe54b7ef98d2ef9f4f872ff1239ddcb (patch)
tree4896b8f9b76f29a6bc128abb1ee8dae10120a9f2 /sys/netinet6/ip6_input.c
parent6acae65de1bb53c9ce0ee21c39b040b5a28a74ce (diff)
downloadFreeBSD-src-69e554e17fe54b7ef98d2ef9f4f872ff1239ddcb.zip
FreeBSD-src-69e554e17fe54b7ef98d2ef9f4f872ff1239ddcb.tar.gz
correct malloc flag argument
Reported by: Kris Kennaway <kris@obsecurity.org>
Diffstat (limited to 'sys/netinet6/ip6_input.c')
-rw-r--r--sys/netinet6/ip6_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index bb46d35..dcb74fb 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -1603,7 +1603,7 @@ ip6_addaux(m)
if (!tag) {
tag = m_tag_get(PACKET_TAG_IPV6_INPUT,
sizeof (struct ip6aux),
- M_DONTWAIT);
+ M_NOWAIT);
if (tag)
m_tag_prepend(m, tag);
}
OpenPOWER on IntegriCloud