Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2018 09:23:29 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334278 - head/sys/netipsec
Message-ID:  <201805280923.w4S9NTVM082206@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805280923.w4S9NTVM082206>