svn commit: r334278 - head/sys/netipsec
Andrey V. Elsukov
ae at FreeBSD.org
Mon May 28 09:23:29 UTC 2018
Author: ae
Date: Mon May 28 09:23:28 2018
New Revision: 334278
URL: https://svnweb.freebsd.org/changeset/base/334278
Log:
Temporary disable SPDCACHE statistic accounting until proper fix will be
committed. This fixes the kernel build without option IPSEC.
Modified:
head/sys/netipsec/key.c
Modified: head/sys/netipsec/key.c
==============================================================================
--- head/sys/netipsec/key.c Mon May 28 08:12:18 2018 (r334277)
+++ head/sys/netipsec/key.c Mon May 28 09:23:28 2018 (r334278)
@@ -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);
More information about the svn-src-head
mailing list