From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.aperture-lab.de (mail.aperture-lab.de [116.203.183.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D9E83446A5; Sat, 7 Mar 2026 04:46:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.183.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772858777; cv=none; b=VPltjATbXl2adX2vU2Dw+E7UbG9jsK5CTsRE5tLYJwzm+zQ7groAQGM4Q09qLaWuumRvGjcgM6sRGBAnlXz+RA2nNf1EjAShkEj7+aMgFgmBLZxaqKR9vn77mhEXsiHXER1RcT1lZaFYiI4sH01xHUXTz588sgadSBX0jLftELI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772858777; c=relaxed/simple; bh=6FpFkPi+d0c1jU/wPhHu25zL1jRo1npyrF8LPnTHVp8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=rn93GI3XvCiyoItdZhiwQa3EjW6OBULajUbJPXzEkiFetYYwnzipXhMEGD06iyUgQijlEdNOVV+GIVtDVXPuMbM2izRNDR5SN5V9/KaFCIkb5pjslnRGxVeMKHVHYG8tG8ewcS6x6dPYWtvRkD8383teCMJvr4RRRRa4x6cfKjU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=c0d3.blue; spf=pass smtp.mailfrom=c0d3.blue; arc=none smtp.client-ip=116.203.183.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=c0d3.blue Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=c0d3.blue Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5787454CEA0; Sat, 7 Mar 2026 05:46:10 +0100 (CET) From: =?UTF-8?q?Linus=20L=C3=BCssing?= To: bridge@lists.linux.dev Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Nikolay Aleksandrov , Ido Schimmel , Andrew Lunn , Simon Horman , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S . Miller" , Kuniyuki Iwashima , Stanislav Fomichev , Xiao Liang , shuah@kernel.org, petrm@nvidia.com, =?UTF-8?q?Linus=20L=C3=BCssing?= Subject: [PATCH net-next v4 07/14] net: bridge: mcast: track active state, own MLD querier disappearance Date: Sat, 7 Mar 2026 05:45:41 +0100 Message-ID: <20260307044548.5230-8-linus.luessing@c0d3.blue> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260307044548.5230-1-linus.luessing@c0d3.blue> References: <20260307044548.5230-1-linus.luessing@c0d3.blue> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 This change ensures that the new multicast active state variable is immediately unset if our internal IGMP/MLD querier was elected and now disabled. If no IGMP/MLD querier exists on the link then we can't reliably receive IGMP/MLD reports and in turn can't ensure the completeness of our MDB anymore either. No functional change for the fast/data path yet. Signed-off-by: Linus Lüssing Reviewed-by: Ido Schimmel --- net/bridge/br_multicast.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c index 2eebfb7c5ff9..f37a18f3713c 100644 --- a/net/bridge/br_multicast.c +++ b/net/bridge/br_multicast.c @@ -4945,6 +4945,7 @@ int br_multicast_set_querier(struct net_bridge_mcast *brmctx, unsigned long val) #endif unlock: + br_multicast_update_active(brmctx); spin_unlock_bh(&brmctx->br->multicast_lock); return 0; -- 2.53.0