aboutsummaryrefslogtreecommitdiff
path: root/sys/netipsec
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2018-05-28 09:23:28 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2018-05-28 09:23:28 +0000
commit33c1b2bd88722a02e70da59459f5e5f08baec4cd (patch)
tree20a856bd1939f69f6c2abe6589a173e3ff9386be /sys/netipsec
parentb00ab7548b418624b6719ab8a2e8aaeade767a70 (diff)
downloadsrc-33c1b2bd88722a02e70da59459f5e5f08baec4cd.tar.gz
src-33c1b2bd88722a02e70da59459f5e5f08baec4cd.zip
Temporary disable SPDCACHE statistic accounting until proper fix will be
committed. This fixes the kernel build without option IPSEC.
Notes
Notes: svn path=/head/; revision=334278
Diffstat (limited to 'sys/netipsec')
-rw-r--r--sys/netipsec/key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c
index 418bf3bc4bce..96ef209518d1 100644
--- a/sys/netipsec/key.c
+++ b/sys/netipsec/key.c
@@ -930,13 +930,13 @@ key_allocsp(struct secpolicyindex *spidx, u_int dir)
if (entry->sp != NULL)
SP_ADDREF(sp);
- IPSECSTAT_INC(ips_spdcache_hits);
+ /* IPSECSTAT_INC(ips_spdcache_hits); */
SPDCACHE_UNLOCK(hashv);
goto out;
}
- IPSECSTAT_INC(ips_spdcache_misses);
+ /* IPSECSTAT_INC(ips_spdcache_misses); */
sp = key_do_allocsp(spidx, dir);
entry = spdcache_entry_alloc(spidx, sp);