diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2016-11-14 04:27:04 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2016-11-14 04:27:04 +0000 |
commit | 3fe73083cbc2686bb27563e4dea0a7db371211f4 (patch) | |
tree | 255edabc2d6dfc52f549558ae6ad47ea8876dab4 /sys | |
parent | fc674f9894d986b47cfa77e09298d752aaf88a86 (diff) |
use M_COUNTERS to allocate counters.
suggested by mpi@ and mikeb@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 3b5ee43c05a..f9c5686313b 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_input.c,v 1.284 2016/11/14 03:51:53 dlg Exp $ */ +/* $OpenBSD: ip_input.c,v 1.285 2016/11/14 04:27:03 dlg Exp $ */ /* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */ /* @@ -168,7 +168,7 @@ ip_init(void) const u_int16_t defrootonlyports_tcp[] = DEFROOTONLYPORTS_TCP; const u_int16_t defrootonlyports_udp[] = DEFROOTONLYPORTS_UDP; - ipcounters = counters_alloc(ips_ncounters, M_PCB); + ipcounters = counters_alloc(ips_ncounters, M_COUNTERS); pool_init(&ipqent_pool, sizeof(struct ipqent), 0, IPL_SOFTNET, 0, "ipqe", NULL); |