summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-11-08 16:29:21 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-11-08 16:29:21 +0000
commit95d5c9837745945f60f71500bac2d42a6b94bef5 (patch)
tree8185f42316464cc4022835a594e1f72de27f647a /sys/netinet/ip_input.c
parent918103455ceabf54af40927fdf81e9470a75ed3b (diff)
Make {ah,esp,ipcomp}stat use percpu counters.
OK bluhm@, mpi@
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 1b7c323d88f..bb6940a7a07 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_input.c,v 1.329 2017/11/05 13:19:59 florian Exp $ */
+/* $OpenBSD: ip_input.c,v 1.330 2017/11/08 16:29:20 visa Exp $ */
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
/*
@@ -216,6 +216,10 @@ ip_init(void)
strlcpy(ipsec_def_comp, IPSEC_DEFAULT_DEF_COMP, sizeof(ipsec_def_comp));
mq_init(&ipsend_mq, 64, IPL_SOFTNET);
+
+#ifdef IPSEC
+ ipsec_init();
+#endif
}
/*