From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5ADE61C36 for ; Wed, 6 Sep 2023 15:02:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C8D1C433C7; Wed, 6 Sep 2023 15:02:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694012552; bh=KrD1EntFi6jr7v0be9e4MFWTaCDZ8FeZGGyX157lBH8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Jzmtvy9767a/caBokxwPGd1A+VnqziMAOgtX+UNB7CTJ8bv8oHd6z1o9sBZ3wgcuk SxPY3Mon3roOwbcPdEWinJSdZQ7fIj8JAaq9l0kCdecVYa0uMfU3S/17tHB0DoD8OT ujjPasBppX0S/vS0cl5J3aaceFcqlt6OkWH9plMbMSjTZ28plt/6yw7kZG1o30/OLr nYBZvYQ0CIPtI28sr+Ryae0zssB7Et7U+s8DO+3c4KYYQ3Aw6Od7YPiAdAX/yhyKDd P2+jyw53quYbzwhhtJggsNejQCHGHZkhx0eSbcJ3r2a96fJoJ019nfpNKnVut2w4v/ VvjKcErh0CEug== Date: Wed, 6 Sep 2023 08:02:31 -0700 From: Jakub Kicinski To: Sabrina Dubroca Cc: Liu Jian , borisp@nvidia.com, john.fastabend@gmail.com, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, vfedorenko@novek.ru, netdev@vger.kernel.org Subject: Re: [PATCH net] tls: do not return error when the tls_bigint overflows in tls_advance_record_sn() Message-ID: <20230906080231.18d99950@kernel.org> In-Reply-To: References: <20230906065237.2180187-1-liujian56@huawei.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 6 Sep 2023 13:02:37 +0200 Sabrina Dubroca wrote: > I've been running the selftests with async crypto and have collected a > few fixes that I was going to post this week (but not this one, since > we don't have a selftest for wrapping rec_seq). One of the patches > adds -EBUSY checks for all existing -EINPROGRESS, since the crypto API > can return -EBUSY as well if we're going through the backlog queue. BTW is it possible to fake async crypto for a test or does one need to have an actual accelerator?