🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #9687

Re: [PATCH net v5 1/2] veth: keep carrier off when resizing channels with a down peer

#9687
From: patchwork-bot+netdevbpf
Date: Mon, 02 Nov 2026 14:30
27 lines
8903 bytes
Hello:

This series was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Thu, 29 Oct 2026 10:42:58 +0800 you wrote:
> veth_set_channels() temporarily turns carrier off while reconfiguring a
> running interface. It then turns carrier on for both ends without
> checking whether the peer is administratively up. If only one end is up,
> changing its channel counts therefore reports LOWER_UP even though the
> peer remains down.
> 
> For example, after creating a pair with two RX and TX queues per end:
> 
> [...]

Here is the summary with links:
  - [net,v5,1/2] veth: keep carrier off when resizing channels with a down peer
    https://git.kernel.org/netdev/net/c/2d0219177934
  - [net,v5,2/2] selftests: net: check veth carrier after changing channel counts
    https://git.kernel.org/netdev/net/c/c1f04ea0aa0f

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179362980730.4080032.15822012314713396959.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354754-linux-kernel-netdev=dewy.ru
References: <20261029024259.3700-1-yana06070@163.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354754-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v5 1/2] veth: keep carrier off when resizing channels
 with
 a down peer
Date: Mon, 02 Nov 2026 14:30:07 +0000
Organization: Usenet Network
Message-ID: <179362980730.4080032.15822012314713396959.git-patchwork-notify@kernel.org>
References: <20261029024259.3700-1-yana06070@163.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2950400"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:c/js3lWGKEfCIYQXp6XJMAaXzjA= sha256:o2ReKb7yG/+9Y8cnZ65vJSbmNHafCHVAQm7dq3hYops=
	sha1:HkdEO/gMKRIVmaF5jmIpUa2oBGk= sha256:WgMHRHzV4yguWFLeO9c1sMP5B7o3kZp09iYEY1PGowY=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 2D529112545; Mon,  2 Nov 2026 18:01:50 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id aGsVsH_W7dvQ;
	Mon,  2 Nov 2026 18:01:47 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-354754-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 79A06112413; Mon,  2 Nov 2026 18:01:39 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 0FFD8617A3C; Mon,  2 Nov 2026 14:48:12 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793629825;
	b=dBm1hzMqeTZvzTbXexydr7URxsHkElIf5Q5gJi5OkiQKVmDMdupn+kimAZgtt/RJkBBl
	 u42kGlGvLsihoZymd5L1/HadXhH306TdbSS3ui8wWLjxEz6X4M/rWRoPZDY87GiXIStK1
	 bUS0mJ0fb6ybljMY5mwXtLqQGghl9yMHVXh0wC86bdsnW/ZN1704qrOQeIEw6c7+sfAsO
	 p5IgW8nNvl6x8ciZHW9Ehqk74A1ckU3e+1iAgMVRpWXu8Q2HxXipoxQPzqrLww1nWvF3C
	 YMJKulEW8HtvuYa7dHhuO9zNPgMLs/OddoCjxKM10JgUFy4pabw9aVn5HTydRn74ilA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793629825;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=cbhi+0a3f6UJgghKe8qL1BYuP63+zwhGFl8VKZMMoVw=;
	b=gVtITYy+PQ6XyMtQ/WEMP7u9WmO8iwp97trpEfQ4slHRzQ5TonseMoKSqdg5EyP13u4z
	 KsJ9GOVtyXqTATzEbOaC6pVJo5bnp1Pnp/FL9+Toj2Npo9BitNbTK4AXN/98dH7PoIeUE
	 r0yrwgEFxGpK+7IOmWdUA0aU7OzFiIG3NPZc92Puqw3wZ/R20Kw9U+4Esvq8Y4m+oCUmO
	 Fks4Nixju32ID6cG8Ng0+nXjYbKdgrMxrAB34CLAn6eg8ENWBIO/cnulardUKkBN/23/1
	 i1az62OBy0nIIuv0NcOemhpmSsCw0m2WrPXsnBiw3Pp+tDMo/FVomiXrpyT1T7OJ6Kg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=XpePrpLT;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BD206087A13;
	Mon,  2 Nov 2026 14:30:25 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=XpePrpLT
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793629809;
	b=NvMwCwa5bI6ke9ZSw5kwVzbGZj3efrmPQJjRwjaBZMNvG7arXzt8nYcnml/+JnDsI6sT
	 xUZYYOkS9AyTob0sAPOy/bNwUFeEQBbJO8M4kBW9Sk6/fAfSfptjDlPklcgl1nYjo0nTq
	 IdVJeJ4SgMXKX/K+fYTD+zrVwlZ0IIHr1TtiE2hiPQtH+8JzS6R++I32ZJyMkSnlAGMx5
	 IQ6QmII+fpdRL8QWYxQaKYy/SjJfcVDLObNC1JawBSBvql+9X1bAzt/DHkipwK5ax8j6L
	 zUpEiYIlQYwJDHgv1Xfx2Q2ED450SuhFGGhviFdfsQ1ROG6tFsO8SsX59loo7AyvV9Q==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793629809;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=cbhi+0a3f6UJgghKe8qL1BYuP63+zwhGFl8VKZMMoVw=;
	b=PK6j7aGD53Eg3lcq2XF5FWLDUUat3Ko87RQp7bJTkNidEqKnQm2SSAhgTZQqkp0fU/ak
	 SFokRljloettMEr//hux0svGestLgCEwu5OzXe8oQ1122yFrqJUvLn7w3h4mlLMK3GeIh
	 sHl/vTZr9sUEWDjzbZO/vaV36pvZsuqQfgjVpQbSuNFfbE4u1QKvwWw53OV1vzlKQC9Yn
	 1CoorlPxNryh6vbWRCGphQ66UR/G+vGcEsXUtqUqTAKclhH738YuHg9ly25Zt7DpcmFdR
	 seSEfJPFx4X0v4LjDGyw01oIwYHlvAy/xGCzgq42ZGVqhsX81CSkik6nRaAqVLhf4Fw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=XpePrpLT;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id EF5F6606A90F;
	Mon,  2 Nov 2026 14:30:08 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87D111F00A17;
	Mon,  2 Nov 2026 14:30:08 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793629808;
	bh=cbhi+0a3f6UJgghKe8qL1BYuP63+zwhGFl8VKZMMoVw=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=XpePrpLTp1iNQ3636CD4UYju62+hvItmogM4jMkmBqjnyg4SsEwzyPhbI2ccCvHF2
	 zd5/L2b2j3gB3j76FU7v/kMx8r9y3BhIJRUE0eNRJqOGxc8HJ+P4K5f/3B95oEe+AI
	 rx2FjObCom6DJjXrtKjhra6Y9qk7PYI8fOU2wA2i1GCy0kUn2ypqtaQYi6RUilYT2Y
	 IB+UgRQ3NQY9TSpy6ffkOPr+EhLBvXJ3Mt9BQd04Y/c3iDhZvdUGYstZ2ODmDCz7vY
	 AR2UoOxyQiPqisB6zAOF0zzPHGgDIZhdr+hiK5I+BejvPOex+guvup1E1k1Brks/xL
	 DkRlTz4O8T9zw==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 7D2D6380821F;
	Mon,  2 Nov 2026 14:30:08 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261029024259.3700-1-yana06070@163.com>
X-Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net,
 edumazet@kernel.org, horms@kernel.org, kuba@kernel.org,
 linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
 pabeni@redhat.com, shuah@kernel.org, hangbin.liu@linux.dev,
 stable@vger.kernel.org