summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_input.c
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-02-05 16:23:39 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-02-05 16:23:39 +0000
commitc209894806b3b7e37931ecc68cb218a1893f8141 (patch)
tree94d883c5b19da9a8664b7a95306fee026a1f7175 /sys/netinet6/ip6_input.c
parenta0fe76973a89628bbcd7a93577076e67e111a4a4 (diff)
Always allocate counters memory using type M_COUNTERS.
This makes the API simpler, and is probably more useful than spreading counters memory other several types, making it harder to track. Prodded by mpi, ok mpi@ stsp@
Diffstat (limited to 'sys/netinet6/ip6_input.c')
-rw-r--r--sys/netinet6/ip6_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index f1f902107e5..d306e043c31 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_input.c,v 1.176 2017/02/05 16:04:14 jca Exp $ */
+/* $OpenBSD: ip6_input.c,v 1.177 2017/02/05 16:23:38 jca Exp $ */
/* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */
/*
@@ -159,7 +159,7 @@ ip6_init(void)
mq_init(&ip6send_mq, 64, IPL_SOFTNET);
- ip6counters = counters_alloc(ip6s_ncounters, M_COUNTERS);
+ ip6counters = counters_alloc(ip6s_ncounters);
}
/*