From 18e13cfbbf8e236a5e9f8808aee509c5d3f1f712 Mon Sep 17 00:00:00 2001 From: Robert Mustacchi Date: Fri, 16 Dec 2011 01:57:56 +0000 Subject: OS-816 IPsec esp kstats shouldn't be persistent Reviewed by: Bryan Cantrill --- usr/src/uts/common/inet/ip/ipsecesp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr/src') diff --git a/usr/src/uts/common/inet/ip/ipsecesp.c b/usr/src/uts/common/inet/ip/ipsecesp.c index 47972a8c1a..96a0457678 100644 --- a/usr/src/uts/common/inet/ip/ipsecesp.c +++ b/usr/src/uts/common/inet/ip/ipsecesp.c @@ -234,8 +234,7 @@ esp_kstat_init(ipsecesp_stack_t *espstack, netstackid_t stackid) { espstack->esp_ksp = kstat_create_netstack("ipsecesp", 0, "esp_stat", "net", KSTAT_TYPE_NAMED, - sizeof (esp_kstats_t) / sizeof (kstat_named_t), - KSTAT_FLAG_PERSISTENT, stackid); + sizeof (esp_kstats_t) / sizeof (kstat_named_t), 0, stackid); if (espstack->esp_ksp == NULL || espstack->esp_ksp->ks_data == NULL) return (B_FALSE); -- cgit v1.2.3