🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8059

Re: [PATCH net] macvlan: fix passthru promiscuity accounting while down

#8059
From: patchwork-bot+netdevbpf
Date: Tue, 27 Oct 2026 23:00
26 lines
8772 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 22 Oct 2026 17:08:09 +0800 you wrote:
> macvlan_changelink() adjusts the lower device's promiscuity count when
> NOPROMISC changes, even if the passthru macvlan is down. The reference
> is acquired in macvlan_open() and released in macvlan_stop(), so a down
> interface has no reference to change.
> 
> Clearing NOPROMISC while down leaves an extra reference after the next
> open/stop cycle. Setting it while down can remove a reference held by
> another user of the lower device.
> 
> [...]

Here is the summary with links:
  - [net] macvlan: fix passthru promiscuity accounting while down
    https://git.kernel.org/netdev/net/c/b6743653d134

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179314200928.379196.7973940130661793334.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-352652-linux-kernel-netdev=dewy.ru
References: <20261022090809.12019-1-yanxia@cmss.chinamobile.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-352652-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] macvlan: fix passthru promiscuity accounting while
 down
Date: Tue, 27 Oct 2026 23:00:09 +0000
Organization: Usenet Network
Message-ID: <179314200928.379196.7973940130661793334.git-patchwork-notify@kernel.org>
References: <20261022090809.12019-1-yanxia@cmss.chinamobile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1653387"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:LpbDsxys0ddvB/Vau5r+yyrhDQg= sha256:WeGEjnn3VA1MZJbeTezlbqbxMhuNyREqwFx5PFWfGvg=
	sha1:1KmXUD5DZYT0OLaoSU6fSLDnYM8= sha256:hZAqhm9NDX8NRytyIH7W4wv4/5jpM0d+zlG9SF7Vaeg=
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 50D6E125C2A; Wed, 28 Oct 2026 02:00:45 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, 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 73WQO2J6Z8sc;
	Wed, 28 Oct 2026 02:00:41 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-352652-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id CCD04125C1D; Wed, 28 Oct 2026 02:00:32 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 82F2D2643E; Tue, 27 Oct 2026 23:00:23 +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=1793142022;
	b=cWNTrw5bwcJVMS72vphRsRZsnapqoAz/gKjcp2N191/9WHSG3dHtCM3VooiEZi5Nux+b
	 AGWQE+OLD1uoeIe3s1jIhSWonINZihGPdh0x0ToP6eaZQ4kCfYHuUZYMoRQ+lgbISFQ8a
	 G5YL5SNAQMtzvPe9BbYJyN8fKaNfyZONLz6VE91t5ggvcqyg7CdvHK0lk1Yglb+bJ9teK
	 7m3mAgeIfvqI4t1RLWhlu3LfcRRAhwgaHb16HoTkZGRbBYvZLSF6GtNyynhhzoISH6BTj
	 SFmkMaoyt3eINNSAF53uxGMtL54EJ7lxfHfXVXh7vVjcHtK4V1cCF6oLjXjYDv/ffhA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793142022;
	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=UfWvtemhdP4zJ7uBSCJzg+Qoh/1DBpgY2rm04yLvulg=;
	b=P3J6baI4BCGTA+dPmpbtoqrqLGXodEihr9vEpbFPyS5kdVVU4yjyk+KpvRpnEN5bCEBJ
	 j5/C0dyRZOe/XgRKDDmCzEdTaeu4xOLt2CfFMgXbsR06wfng+IbGiYz9NvxCIO8pTrMuR
	 5UCM0NKhiH0Bm+DRrjy6wVNP+kSAOZfNmIE+fjtPJrs6ytTqb5EjNdwF+aODQL8Guir04
	 v2KYTmaV1l9OXxYMqa19jRczkSarw7SeCrUSejA9REjlVIysHZ91MdIJcXHNycWgJNmNs
	 PXpUDkS1kCcPnPkIC+f2sErbpRztqO/iD/ewJrAc+9mJ9rmG+Ei0EoprRfBjym3auLg==
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=IB0vDJAU;
	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 459E7606A31E;
	Tue, 27 Oct 2026 23:00:22 +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=IB0vDJAU
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=1793142011;
	b=EU/uQJ7fbX7iUEOdTLbflhpNp4zDCyIdDhbaLe2ZVVKL5P+fSGIqa/3Z4RdRwEbdsJGF
	 PVGKAeOuhB4gPEaUwKa6LZTTpQacvstzHVBsRZrUIW2fyywpaEB3zjwne5MFyDXM6LJkq
	 hNMFRBe31sXTyYMlL10aS75mgV9wnlkvGXx6ZaL/PaR1xOhyLx2FAjkZls3n51ckyF5Qg
	 6oVv1N5n4cvi1V+E8476D6prt8tYAXg3eew4dHJT7VDfjl+b9U0aT8XazuLiei8URD4QW
	 AdHeYZfl5ykhVfljwnJtI33ZksnLpWR5PJqpVkKEunsZ6/KozdjuYqS5V0z2Glor2gw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793142011;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=UfWvtemhdP4zJ7uBSCJzg+Qoh/1DBpgY2rm04yLvulg=;
	b=yb7+fk4KT13Le01FOQmK8KRlVPOyymUEfj9+Lg7gPZJDNBxYGYXeXaHRBgpPrGYSxeYV
	 OpnkdoIjnxFS7B3Foxtbn1rL/d+GG0w2NWEm5b1tXDbCwXIP0audJcp0W3AR6Rl+ylWVD
	 IW7tyzVLpSdZhrYSoxXLfzOhz3yjP/m7rDPVfz7I1NjNOoCc70mo4YPFK3yasuKXSilOD
	 7pSv+TDiY5xRxHAnNrg/Bo/+ivZIBrFugDRo+14bYXSpK+8wCxvIIsoSQ8G62coXEsy17
	 HWmVyQnCaXzFxHUF11vJJSuzRSpMJ0+0eJOvj6NjKDtc7gQOXnJqtOn5uc1IryrIOLg==
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=IB0vDJAU;
	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 26514606A31D;
	Tue, 27 Oct 2026 23:00:10 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C780A1F01825;
	Tue, 27 Oct 2026 23:00:10 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793142010;
	bh=UfWvtemhdP4zJ7uBSCJzg+Qoh/1DBpgY2rm04yLvulg=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=IB0vDJAUHAIAwbiAIj11wTgxSxuUc0A55SisR7A9yRW4HBDLddSZ6vOLlEdhpUT2w
	 I8sR6G+Of3d0PDuerBmlR8mGhqF/fp8vt1BnoNeGrE80JzFqNnDgDfKFCSwxZD22Jj
	 BM3Ul/I9Sv5L9ixqhdQ/n3DJLmqmBIsWilBZqa44aUJoMcnCWJ+omobMTG8hBx7C0u
	 djKZUdunORNhM5QuQx212tFNzycITy2qxsXy3Vd71U+yX2YEQHIvIvzlOTgwoGBzDa
	 HB6lcgvvTP3uNLkNM+qj5Bai+SBFvshbWOesIzcH7kJM2Gsy6n52YxJZFSfhuREOw9
	 PMn6mQ1nVkMIQ==
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 BE5B33AA940D;
	Tue, 27 Oct 2026 23:00:10 +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: <20261022090809.12019-1-yanxia@cmss.chinamobile.com>
X-Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org,
 linux-kernel@vger.kernel.org, stable@vger.kernel.org, yana06070@163.com