mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +00:00
Temporary disable SPDCACHE statistic accounting until proper fix will be
committed. This fixes the kernel build without option IPSEC.
This commit is contained in:
parent
b00ab7548b
commit
33c1b2bd88
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334278
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user