diff options
author | Robert Mustacchi <rm@joyent.com> | 2011-12-16 01:57:56 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2011-12-16 02:04:32 +0000 |
commit | 18e13cfbbf8e236a5e9f8808aee509c5d3f1f712 (patch) | |
tree | eadf2724c6a2a9271228fd00f9b6581e1497e226 /usr | |
parent | df5fe3d22e102695087d81e2376f4037fc56e13b (diff) | |
download | illumos-joyent-18e13cfbbf8e236a5e9f8808aee509c5d3f1f712.tar.gz |
OS-816 IPsec esp kstats shouldn't be persistent
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Diffstat (limited to 'usr')
-rw-r--r-- | usr/src/uts/common/inet/ip/ipsecesp.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |