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 16A7730146B; Wed, 13 Aug 2025 23:27:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755127631; cv=none; b=iuJcEzZ/AVKtM2dUC6DlxxUEvNsXAFlLjque4sQMqyHFITHUD+3Pf3NSrDykSqqCI8aWcGcJP+hOmTEDktPmHYkwkHRDYqWBPcfuvnhfGq4uqbedsoiCQVnSzrN/+Hr04FFJea9GjUWhRLZ3hD41rqnxAvsw08tTE51RCRKLdPs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755127631; c=relaxed/simple; bh=/+uRyQIzqvnBbZB6lbuoe2WVnbGT3rLMGwqUpYez6Uw=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ppDhHAEUoVRMuDvr22EWErf+P7nV/i1z7nBiKfRpxUjywNCtQFtHg0Qg9BPwpyLt9lf3e7AdK1tDbK+nVJAVYB0MMC7vZkFsIaPNagvHrmuRN9XwZgsVPgR7kbS0lAxmOAZljoTnHe+UTh8CFBz9sllSNefFchjTcWqDzl0rv1g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XB0HYIpg; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XB0HYIpg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2344CC4CEEB; Wed, 13 Aug 2025 23:27:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1755127630; bh=/+uRyQIzqvnBbZB6lbuoe2WVnbGT3rLMGwqUpYez6Uw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XB0HYIpgH8KcYNjhEqKyOFZfN6oNVG8YZuEjF5NK4hjAj+QJntLrO8/IDzenBjiWw TPQIR3Zj0aP05DjXrzQOBLz9Lh7JxD6IhKlYtUdtLHIvbXgmMQWRbWBevgoOXeT/h2 OFnlp23AzrGHtqrrjfx51WwQy8xaEUf4Ky3ha1Gy0ooqFJIxaRCY11bqfUHX5vZV/R HhH/KJBUNSLkjMXebrcTcum4ty06B+pntpwFYGie6B5lng0HBx1paaWPPr7/eeqaqb XqFKCyAtH+raEO+A6iuPIqiONP2+hvQ6ZEwyI0X/V7kAy7DiDZLjvfcvRpagc8JbxO AR73bkVy3e+Aw== Date: Wed, 13 Aug 2025 16:27:09 -0700 From: Jakub Kicinski To: Pengtao He Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Willem de Bruijn , Mina Almasry , Jason Xing , Michal Luczaj , Eric Biggers , Alexander Lobakin , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND PATCH net-next v3] net/core: fix wrong return value in __splice_segment Message-ID: <20250813162709.6d876ba4@kernel.org> In-Reply-To: <20250811232801.28489-1-hept.hept.hept@gmail.com> References: <20250811232801.28489-1-hept.hept.hept@gmail.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 Tue, 12 Aug 2025 07:28:01 +0800 Pengtao He wrote: > Return true immediately when the last segment is processed, > avoid to walking once more in the frags loop. Please explain this change more clearly in the commit message. Took me a minute to realize you're concerned about the caller behavior not __splice_segment() itself. -- pw-bot: cr