From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-b6-smtp.messagingengine.com (fhigh-b6-smtp.messagingengine.com [202.12.124.157]) (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 EFA9321ADB7 for ; Mon, 30 Mar 2026 12:21:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774873282; cv=none; b=d6e3314C6i81rrhkpGZBRRRiBLYZRwLMnIfWcX10ryLFvIV09QAuK5ovsQUwvG9Fex28w5aAWBTx2gLdK7pry6py7pq9bnNm+OPU81+q9PQ8K0RFSH5BrrbRrivjFDXF7yAzMY9or0GRdUsMydB4KEZYBQmSzC49hgSxhC/l5Co= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774873282; c=relaxed/simple; bh=H58ZOxAA8Prrsxvn0rvvpv6/79jQvckRmc43jSqh4eE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uxRFkG6V9vQ0i4rOpv9kDs8FEIqf9XKaVw4KJKc2SEkAWgQdfelKBrUjJByn4T7WA9U3drxqNTUqze4zxRBRLfyyRI2v5pVlEqITze46TKUtyfI451mdsp8uTDe/H3hA0eeIJr8KDGdO2uPRKezKc/h/DY6m0LPRyiLQ+aUHVZU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=queasysnail.net; spf=pass smtp.mailfrom=queasysnail.net; dkim=pass (2048-bit key) header.d=queasysnail.net header.i=@queasysnail.net header.b=Cn1Cx6iy; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=sDfwG2rm; arc=none smtp.client-ip=202.12.124.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=queasysnail.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=queasysnail.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=queasysnail.net header.i=@queasysnail.net header.b="Cn1Cx6iy"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="sDfwG2rm" Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfhigh.stl.internal (Postfix) with ESMTP id CBE587A0350; Mon, 30 Mar 2026 08:21:18 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Mon, 30 Mar 2026 08:21:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=queasysnail.net; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1774873278; x= 1774959678; bh=iDGXxnYuZkuyWCiJ5MY8Rgi9ZzEn0kbLlYEcYgsUFbw=; b=C n1Cx6iyDD3aBb+Rwh9Non/vhKtzYUzkRTqUsXwmN7KiFDP47uD7h3Y0etnfI88YV mkteGC6mKfHKWthIA7p3LdeiKjZ6pBCpG2MGbQyHiLUss9bDZDnVYAevObegVgbg CTyxe5sVQHFm2/m74sE9mIoOGgz76awAtXu2pDSLN/mVCsdq/16YBThMeCKH6u84 AUlJhAbc/aVWX2dfjiYCWxGRdYPCEtrsZ118E0llxZbtQhVBsoHiPtqqtamSlENe 6yvjl/wtRvnSNMlAsw1fI0aMQpig2qVpxqfEhgaIRJ+PYOQYlYjAASORBYQT/eRt hLseejNIa7sz+Du38NG9w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1774873278; x=1774959678; bh=iDGXxnYuZkuyWCiJ5MY8Rgi9ZzEn0kbLlYE cYgsUFbw=; b=sDfwG2rmzgg9vAlMsEDxyNyIWyV6fudYRv5mexnBb/SWlPqhRYc enYzFDKYXtpaen3SlxMWt50Lc6OVj5da6jUY5XkIxWyP2miJUriDoXIIeld1i4DN 0kqDdi94sD0m+A4ipuRBIErIWm0croGOPYSSgZ/LkGLXeeJA6uuwHEvc0j2lgz32 T/6a7Lp7AJx+p3wew+rsaM5G7vYtASeRJFD+X8h2IDALPcLhck2NiX0mXa5eu0AU HKystryGDLk/AMXufA2DAZ+sQlf5Qe2TJ/BEFrE2k3etpme5sQHVL837WrWoRzcf eGYNagGwubwB+gvkzOc3OV4rK9gIfbcawcg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdeffeekleeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkfhggtggujgesthdtredttddtjeenucfhrhhomhepufgrsghrihhn rgcuffhusghrohgtrgcuoehsugesqhhuvggrshihshhnrghilhdrnhgvtheqnecuggftrf grthhtvghrnhepuefhhfffgfffhfefueeiudegtdefhfekgeetheegheeifffguedvueff fefgudffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgusehquhgvrghshihsnhgrihhlrdhnvghtpdhnsggprhgtphhtthhopeekpdhmohgu vgepshhmthhpohhuthdprhgtphhtthhopegtvghlsehkvghrnhgvlhdrohhrghdprhgtph htthhopehjohhhnhdrfhgrshhtrggsvghnugesghhmrghilhdrtghomhdprhgtphhtthho pehkuhgsrgeskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepnhgvthguvghvsehvghgvrh drkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepkhgvrhhnvghlqdhtlhhsqdhhrghnughs hhgrkhgvsehlihhsthhsrdhlihhnuhigrdguvghvpdhrtghpthhtoheptghhuhgtkhdrlh gvvhgvrhesohhrrggtlhgvrdgtohhmpdhrtghpthhtohephhgrrhgvsehsuhhsvgdruggv pdhrtghpthhtoheprghlihhsthgrihhrrdhfrhgrnhgtihhsseifuggtrdgtohhm X-ME-Proxy: Feedback-ID: i934648bf:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 30 Mar 2026 08:21:17 -0400 (EDT) Date: Mon, 30 Mar 2026 14:21:16 +0200 From: Sabrina Dubroca To: Chuck Lever Cc: john.fastabend@gmail.com, kuba@kernel.org, netdev@vger.kernel.org, kernel-tls-handshake@lists.linux.dev, Chuck Lever , Hannes Reinecke , Alistair Francis Subject: Re: [PATCH net-next v7 3/5] tls: Factor tls_strp_msg_release() from tls_strp_msg_done() Message-ID: References: <20260328-tls-read-sock-v7-0-15678415dfc1@oracle.com> <20260328-tls-read-sock-v7-3-15678415dfc1@oracle.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=utf-8 Content-Disposition: inline In-Reply-To: <20260328-tls-read-sock-v7-3-15678415dfc1@oracle.com> 2026-03-28, 11:17:10 -0400, Chuck Lever wrote: > From: Chuck Lever > > tls_strp_msg_done() conflates releasing the current record with > checking for the next one via tls_strp_check_rcv(). Batch > processing requires releasing a record without immediately > triggering that check, so the release step is separated into > tls_strp_msg_release(). tls_strp_msg_done() is preserved as a > wrapper for existing callers. > > Reviewed-by: Hannes Reinecke > Reviewed-by: Alistair Francis > Signed-off-by: Chuck Lever > --- > net/tls/tls.h | 1 + > net/tls/tls_strp.c | 15 ++++++++++++++- > 2 files changed, 15 insertions(+), 1 deletion(-) Reviewed-by: Sabrina Dubroca -- Sabrina