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
30f165e2d7
commit
41a142c9f3
@ -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…
x
Reference in New Issue
Block a user