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 3F9C463B5 for ; Wed, 7 Jun 2023 16:58:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25DE5C433EF; Wed, 7 Jun 2023 16:58:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686157122; bh=exiwNMtro5HZ3RTiNqye9ih4jHEqnpnzeZJ2eAQPXh4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=H1vZGGGrAefzYt3YUbVr2VTjdG3ZuzagxJr9pFbQvwg3+wG+vM9fhrQwLYiySKC8J bPEJw2Ig/z8qobZwKfHHz8w+67d/aPU84K9tm9SyyMkFvc8x0nwoOJm4OObzCoNUbm UtBcvVtwj0LxVFadTBDx6BxNhN55TzSH5jUVM4esHYUPeBWW0q0VBn2OXJJQXdmUuW ULNc2zCWHq81EKoBdF6k7DEovs8RvE+CuZd8JMVLjvjUvNCz+6lNvER+J8gELA60H7 Hs86QMzwg/6UWxAZguASPAHCUeqTtKXErsuqeXOI+l4X2ZD3Uy7SNsheG1fel1ZlL+ oV2Qp40oZMvDg== Date: Wed, 7 Jun 2023 09:58:41 -0700 From: Jakub Kicinski To: David Howells Cc: netdev@vger.kernel.org, Linus Torvalds , Chuck Lever , Boris Pismenny , John Fastabend , "David S. Miller" , Eric Dumazet , Paolo Abeni , Willem de Bruijn , David Ahern , Matthew Wilcox , Jens Axboe , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v5 06/14] tls/device: Use splice_eof() to flush Message-ID: <20230607095841.6e0edf7e@kernel.org> In-Reply-To: <20230607140559.2263470-7-dhowells@redhat.com> References: <20230607140559.2263470-1-dhowells@redhat.com> <20230607140559.2263470-7-dhowells@redhat.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, 7 Jun 2023 15:05:51 +0100 David Howells wrote: > Allow splice to end a TLS record after prematurely ending a splice/sendfile > due to getting an EOF condition (->splice_read() returned 0) after splice > had called TLS with a sendmsg() with MSG_MORE set when the user didn't set > MSG_MORE. Reviewed-by: Jakub Kicinski