🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #23511

Re: [PATCH net 1/2] bridge: mcast: Fix source list rollback on failure

#23511
From: patchwork-bot+netdevbpf
Date: Fri, 27 Nov 2026 11:30
29 lines
8975 bytes
Hello:

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

On Sun, 22 Nov 2026 09:25:03 +0200 you wrote:
> When the bridge fails to add or replace an MDB entry with a source list,
> br_mdb_add_group_srcs() rolls back the operation by looking up and
> deleting the source entries of all the sources that were already
> processed. This is wrong for two reasons.
> 
> First, with NLM_F_REPLACE, a source can appear more than once in the
> source list. Its source entry is deleted when rolling back one
> occurrence and the lookup fails for the other, triggering a
> WARN_ON_ONCE() [1].
> 
> [...]

Here is the summary with links:
  - [net,1/2] bridge: mcast: Fix source list rollback on failure
    https://git.kernel.org/netdev/net/c/da4a53461d46
  - [net,2/2] selftests: bridge_mdb: Test failed source list replace
    https://git.kernel.org/netdev/net/c/28a371228d4e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179577900450.928635.7709962221576961078.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372692-linux-kernel-netdev=dewy.ru
References: <20261122072504.2623702-1-idosch@nvidia.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372692-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 1/2] bridge: mcast: Fix source list rollback on
 failure
Date: Fri, 27 Nov 2026 11:30:04 +0000
Organization: Usenet Network
Message-ID: <179577900450.928635.7709962221576961078.git-patchwork-notify@kernel.org>
References: <20261122072504.2623702-1-idosch@nvidia.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="721318"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:G5FEbHmszQLSVFrVE+vTfWknK/4= sha256:hBysetjhaecdPX/NoYY98BLZq+2Jcxaifxh7e1x351M=
	sha1:qgXJv4q1vQzTqWlgGAdPFsGcHfU= sha256:v04z0ZGFWZIXPP8Gjy4xA31z/pK/N3J7AfBgrCKzW7Q=
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 94C43125F52; Fri, 27 Nov 2026 14:30:29 +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 fLeX580rQw6S;
	Fri, 27 Nov 2026 14:30:25 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-372692-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 69595125F51; Fri, 27 Nov 2026 14:30:11 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 45415662BE; Fri, 27 Nov 2026 11:30:07 +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=1795779007;
	b=LgyjBmZI5SX8XMydsrKz3y/U3U7i0V8YI/U8uyjNZroU2OFoxMoyZxu94Bu7nEmxXgSe
	 jh6NwvvDqlCxChXtqvFQPmlO5rq+gFTuYk8jpmXkeae7gDGmEbSphWEvmzvkc62EvMCJh
	 3OCE3xfQcHngzs4LNSpnABRQ1XuJJjTipzWoiA22RNUK4M5pAWjqqM6HCNFP/FVQ2SlNw
	 X/UpEJEuB0bVU5zIk9vtF5eIlx3R69eUMLZo7ULCDdBR0mtjixq1HXFvGrNjE8H4Vem42
	 YvV6d2whN8dO3lIBmYllubZv+0C5b+tLa0AlvO+CyUCCGu0lpiG8wMe1DP73Eb79hBQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795779007;
	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=nbgWPHQTVuFS8/6i+ItoRkewUCSl8LV049apExp5FoM=;
	b=ukRYN2Rk1+8y3lnwmsPSREKdG6ZLgnDKAMKra9HIBiPYXn3yYGszMO3lpm8XdeVHGFys
	 5UvR2zjG0IGSzVDwa6z439jMCOJPE00mAiN8Rp4ijWoM9ZxF0qFV0Oi97nHCt7k+3l5nQ
	 Teh8fuWQZhDE2IAb49RmGoVwpc93CJ+uuVvKEEGy1A4rHPDLBiw24+OpsLAq58XR7jH7I
	 g8OICuMoxlJEDQxje7H0oXz6TcMOHKCyquYhZiKk4NoTuSoxgPBaMUi9fzKQgTfSA9ma1
	 Yyp/wPfoxXHBmifa5xZxMD5i1Tz5Av/tT1TpZoVJFYbNyNaXSTUO++K5xWdPWng+4tQ==
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=HhEQAcgg;
	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 EE580606A32F;
	Fri, 27 Nov 2026 11:30:06 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=HhEQAcgg
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=1795779006;
	b=UErfhLdLvCG3/yMqtcnXK1Rw2/9CiK3CDea5Yt6WK7rpUuVrRlWZNtv13CxGx/9kli3p
	 Zvpn/lp1VPIffYgVCrdmVg8Vh2tuxfLmAVigmDWI8fTSsAdDpT+/kI/+B9KekiuPGv9I0
	 gk8HQExO2CsleprsfS9N6HuULUnY4xuGl6nxPu+aV69TdMbDjaA8lRyBY7DFEzKV2VhrR
	 gGFzPESRwAwfUcNK2fHF2eoDXaWoe5mhj0JM2+PxSUnZXdyqXAYYicBJMX3BgCKd3+pMT
	 9CaijMsUgomx1OVM0PSaj0etkR/PjKBP2GoWdAvkUSHLwI5Ay8HG6DyauHsyuHZWDuA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795779006;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=nbgWPHQTVuFS8/6i+ItoRkewUCSl8LV049apExp5FoM=;
	b=suGA8hc5y2+S8281t4vjKeeg9O19NH5p8m55wyxdBIlemyaIfg1rrVpGfID5Z/FdHSbM
	 Cj8hkAhSQziiObIT9FXsfFy/hWBfw6jIIs1VpOogSSw83s0DkPqK77x/jhF7z8ZmnOW62
	 3vjaVPycG+j/9YZ5HtgOgZyA0ydmi8Y7/QyU5ZpoASCipvoTyC73K7qSia4+IxHwmNHOn
	 2bnPRo0ISncwNaoNKlfHpkmC7aqOvZuQWm2cZJoKcmtgrC6yjbb/tbXxQmoxpwEq06Ouv
	 pXzCIDn6QcTE5LZK+YslI1a+7UlTQL5m71Ss2zHXgCg3kQoyOdA9+CBsAts3ZSVL1cg==
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=HhEQAcgg;
	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 1A2AD606A31E;
	Fri, 27 Nov 2026 11:30:05 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id B63771F00897;
	Fri, 27 Nov 2026 11:30:05 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795779005;
	bh=nbgWPHQTVuFS8/6i+ItoRkewUCSl8LV049apExp5FoM=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=HhEQAcgg2Z9lMvcfiIwCn5E4d0wFcKuKXvAnRya1YNtCqYCM5LXSXwwfmqH4FsuDa
	 EIjYNe+6RLsmH1wkg2NYO821fd7KanWku1egVaqvCPxl88sNqcQoRwuapzTsN54wq5
	 ZkPNQTArKcGFn1TnbOy7L9NUqe65lkFtzvksYNIi+H6GKQ2dToGMPDSAfsmqhxZX8e
	 PSvh3IpP/S40XajXRQX9gZ8TI09hK9wdX0BtVWGyMNSBZbHRk9z8cW5BKUqsvsuUnS
	 XFy+YLjnfSuVhbkf/iUVFI/iKtyUQb0R9WxuWDquAVch1/ej3VlFi2CkW0s/t0gxHg
	 ED40RyarXRrLQ==
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 AE91238003E1;
	Fri, 27 Nov 2026 11:30:05 +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: <20261122072504.2623702-1-idosch@nvidia.com>
X-Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org,
 pabeni@redhat.com, edumazet@kernel.org, willemb@google.com, horms@kernel.org,
 razor@blackwall.org, dsahern@kernel.org, shuah@kernel.org,
 bridge@lists.linux.dev, linux-kselftest@vger.kernel.org,
 kyuwoncho18@gmail.com, stable@vger.kernel.org