Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp180417imu; Thu, 6 Dec 2018 22:20:15 -0800 (PST) X-Google-Smtp-Source: AFSGD/VsT4VZxIwIhudXlUnKTt3V7rE6AVJRUsdvR3k2MxSMobkgQ4BwIDUmWFoYgbRdBJ3whKCt X-Received: by 2002:a62:ce0e:: with SMTP id y14mr1081283pfg.100.1544163615709; Thu, 06 Dec 2018 22:20:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544163615; cv=none; d=google.com; s=arc-20160816; b=on9y9v+PwK79h8SHePTqKckYaP3boWuL2mdyhp42WRjjmk9uuupveMEn4hb33j91KU HFAfEvMf/BsJvx5ZMPYDS7VchNE728YIqVlTUprV8xeWvYpDYBC54eGjA+2o8yAC4/cW xfgKh3px5dqWNE/w6ROT+tsjhtQizsuPJtycon69yaTC3O4iO+pQ1clGqRys8GcqGOA9 QD5OajDR0QM3NNpjn4glq+S7kfP8Icitx5DDeD/isqq/buH5H4ydKyhXRV/rz/cUeTbs dCqBYyzS7HM+/PNrlSoWNdeVZ7KJcCg0dCikH8CblP9zN1JYLNR5uleMKH+CcnIFgwy3 w1jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ZC7EM1SVhxMcJCwcjvF4F3GsZTkXXjblV2fhmiHe1wk=; b=rVB/8sib4cVQg/Pb7qcgt1IC3+MfG9dXzvWj9marLENA1mongDnBQoPTS+ujLULZBs vBj1iuFEghQfz6PGg+frSUQmctzj1Mt1Kx2UXfQDbESiC1whCddVhsYvN7bRB0lWsCvF T150r5dD3nacFRaxUFvlIMC/0Qv8kaao8jhxA1CWPluotB+ta4gVgdUO9ygD8xo4yvG9 AQityyklB5WZgFh+lsA/Au6jcz+SVu24LAs1NrgPpycsFP8b1lOvB4jT13YwhMYDaB0L UNuOI5gi0yoqhxPK7zjKvKicCaP1rozGMVw0RK/K+CL+lpCwTBC11eBMebbzqwM1v9rD AOxA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u202si2071606pgb.115.2018.12.06.22.20.00; Thu, 06 Dec 2018 22:20:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726097AbeLGGSp (ORCPT + 99 others); Fri, 7 Dec 2018 01:18:45 -0500 Received: from orcrist.hmeau.com ([104.223.48.154]:49018 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725967AbeLGGSp (ORCPT ); Fri, 7 Dec 2018 01:18:45 -0500 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1gV9TD-0004mh-Hj; Fri, 07 Dec 2018 14:18:39 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1gV9TD-00006B-Do; Fri, 07 Dec 2018 14:18:39 +0800 Date: Fri, 7 Dec 2018 14:18:39 +0800 From: Herbert Xu To: Corentin Labbe Cc: davem@davemloft.net, ebiggers@kernel.org, nhorman@tuxdriver.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 00/11] crypto: crypto_user_stat: misc enhancement Message-ID: <20181207061839.k3wuvqflkxpx2int@gondor.apana.org.au> References: <1543502546-23870-1-git-send-email-clabbe@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1543502546-23870-1-git-send-email-clabbe@baylibre.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 29, 2018 at 02:42:15PM +0000, Corentin Labbe wrote: > Hello > > This patchset fixes all reported problem by Eric biggers. > > Regards > > Changes since v4: > - Inlined functions when !CRYPTO_STATS > > Changes since v3: > - Added a crypto_stats_init as asked vy Neil Horman > - Fixed some checkpatch complaints > > Changes since v2: > - moved all crypto_stats functions from header to algapi.c for using > crypto_alg_get/put > > Changes since v1: > - Better locking of crypto_alg via crypto_alg_get/crypto_alg_put > - remove all intermediate variables in crypto/crypto_user_stat.c > - splited all internal stats variables into different structures > > Corentin Labbe (11): > crypto: crypto_user_stat: made crypto_user_stat optional > crypto: CRYPTO_STATS should depend on CRYPTO_USER > crypto: crypto_user_stat: convert all stats from u32 to u64 > crypto: crypto_user_stat: split user space crypto stat structures > crypto: tool: getstat: convert user space example to the new > crypto_user_stat uapi > crypto: crypto_user_stat: fix use_after_free of struct xxx_request > crypto: crypto_user_stat: Fix invalid stat reporting > crypto: crypto_user_stat: remove intermediate variable > crypto: crypto_user_stat: Split stats in multiple structures > crypto: crypto_user_stat: rename err_cnt parameter > crypto: crypto_user_stat: Add crypto_stats_init > > crypto/Kconfig | 1 + > crypto/Makefile | 3 +- > crypto/ahash.c | 17 +- > crypto/algapi.c | 247 ++++++++++++++++++++++- > crypto/crypto_user_stat.c | 160 +++++---------- > crypto/rng.c | 4 +- > include/crypto/acompress.h | 38 +--- > include/crypto/aead.h | 38 +--- > include/crypto/akcipher.h | 74 ++----- > include/crypto/hash.h | 32 +-- > include/crypto/internal/cryptouser.h | 17 ++ > include/crypto/kpp.h | 48 +---- > include/crypto/rng.h | 27 +-- > include/crypto/skcipher.h | 36 +--- > include/linux/crypto.h | 290 ++++++++++++++++++--------- > include/uapi/linux/cryptouser.h | 102 ++++++---- > tools/crypto/getstat.c | 72 +++---- > 17 files changed, 676 insertions(+), 530 deletions(-) All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt