From: Herbert Xu Subject: Re: XFRM Stats Date: Thu, 22 Jun 2017 16:27:22 +0800 Message-ID: <20170622082722.GA25682@gondor.apana.org.au> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-crypto@vger.kernel.org To: Raj Ammanur Return-path: Received: from orcrist.hmeau.com ([104.223.48.154]:34606 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752805AbdFVI1p (ORCPT ); Thu, 22 Jun 2017 04:27:45 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-crypto-owner@vger.kernel.org List-ID: Raj Ammanur wrote: > oops yes, completely forgot the lifetime stats. Thanks Herbert. > > I will check this out, but after a rekey, are the stats still preserved? No those stats are per-state. So your best bet would be to get this feature added to your user-space key manager, and get it to read out the final stats before deleting the SA. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt