From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Subject: Re: [PATCH] tls: Pass rec instead of aead_req into tls_encrypt_done Date: Tue, 7 Feb 2023 10:50:36 -0800 Message-ID: <20230207105036.76b30090@kernel.org> References: <20230206231521.712f53e5@kernel.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232354AbjBGSuk (ORCPT ); Tue, 7 Feb 2023 13:50:40 -0500 In-Reply-To: List-ID: Content-Type: text/plain; charset="us-ascii" To: Herbert Xu Cc: Linux Crypto Mailing List , Alasdair Kergon , Mike Snitzer , dm-devel@redhat.com, "David S. Miller" , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, Tyler Hicks , ecryptfs@vger.kernel.org, Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org, Steffen Klassert , Jon Maloy , Ying Xue , Boris Pismenny , John Fastabend , David Howells , Jarkko Sakkinen On Tue, 7 Feb 2023 16:18:36 +0800 Herbert Xu wrote: > > > aead_request_set_callback(aead_req, CRYPTO_TFM_REQ_MAY_BACKLOG, > > > - tls_encrypt_done, sk); > > > + tls_encrypt_done, aead_req); > > > > ... let's just pass rec instead of aead_req here, then? > > Good point. Could we do this as a follow-up patch? Reposting > the whole series would disturb a lot of people. Of course if > other major issues crop up I can fold this into the existing > patch. Whatever works best! Reviewed-by: Jakub Kicinski