diff options
author | Andrey V. Elsukov <ae@FreeBSD.org> | 2018-05-28 09:23:28 +0000 |
---|---|---|
committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2018-05-28 09:23:28 +0000 |
commit | 33c1b2bd88722a02e70da59459f5e5f08baec4cd (patch) | |
tree | 20a856bd1939f69f6c2abe6589a173e3ff9386be /sys/netipsec | |
parent | b00ab7548b418624b6719ab8a2e8aaeade767a70 (diff) | |
download | src-test-33c1b2bd88722a02e70da59459f5e5f08baec4cd.tar.gz src-test-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c index 418bf3bc4bceb..96ef209518d17 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); |