🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #14124

Re: [PATCH net-next v2] ipv4/ipv6: preserve multicast filters after a failed source leave

#14124
From: patchwork-bot+netdevbpf
Date: Tue, 10 Nov 2026 18:40
28 lines
8947 bytes
Hello:

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

On Wed,  4 Nov 2026 14:14:19 +0800 you wrote:
> After joining a group with IP_ADD_MEMBERSHIP or IPV6_JOIN_GROUP,
> MCAST_LEAVE_SOURCE_GROUP for an unjoined source returns EADDRNOTAVAIL
> but switches the socket's filter mode, so the existing membership stops
> receiving. Leaving and rejoining the group restores reception.
> IP_DROP_SOURCE_MEMBERSHIP has the same problem.
> 
> ip_mc_source() and ip6_mc_source() allow an empty-filter mode switch before
> checking whether a source list exists for deletion. The failed request
> changes EXCLUDE {} to INCLUDE {}, so the socket no longer accepts packets
> from any source.
> 
> [...]

Here is the summary with links:
  - [net-next,v2] ipv4/ipv6: preserve multicast filters after a failed source leave
    https://git.kernel.org/netdev/net-next/c/2f14be6c9b9e

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

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360531-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2] ipv4/ipv6: preserve multicast filters after a
 failed source leave
Date: Tue, 10 Nov 2026 18:40:10 +0000
Organization: Usenet Network
Message-ID: <179433601092.4186528.9911475514959003155.git-patchwork-notify@kernel.org>
References: <20261104061419.87989-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="678858"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:FnS+14X5L8PtJHg3SBSkRmPDOHg= sha256:ZwLAcqfDj4sL8LxXTV2zLxpFiGCHnQHoGFYZDkS3yDc=
	sha1:X2AnlaonNPoraVkFeR2jX3rK2Fw= sha256:shwUzSL4QDLnFq7SqSfLo2OjFkef65dEg49vuoV2Mow=
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 A6DDF113CD7; Tue, 10 Nov 2026 22:03:07 +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 BMbiZ4x4cpK7;
	Tue, 10 Nov 2026 22:03:04 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-360531-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 247CD113C9E; Tue, 10 Nov 2026 22:02:56 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 9F8B8148136; Tue, 10 Nov 2026 18:41:38 +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=1794336018;
	b=h8Ehyi0W74KDXZxzodx8EFYncK8SLKgPb9BDwNhshm7iwxj7Wp4KoO8WMDkdI7m2q3dn
	 Tr6uBDZlt+5Be+0+3YLBFWliGokVZgsMKfRsqbmHHQ4AJoxvEV+eHUcBIougj95OwHUNj
	 OBI4eM/Hc6BaZFKluPHQSBSGh1M9KfPWJwNIkVkPOCURIDn1JP/quXDzvM4xsCpIWb5X2
	 867o0N/8Inhk9AQEA5VuCwDMTXu5u1rsUdwVuKIgEJjU0CG/PaBLdaMYW7x3W1pDxC8+B
	 DOaNsxM++HIt14BGmwAQqV1QafZsUEnBe0EEmbSdceesgl8fK77eDkFX2Xaq3cdP1Tg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794336018;
	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=j/HiRNgNDwgIfvRr71aE9B1tv3rjx+NrK88z3ezu9PE=;
	b=FlwPfprT83vsBRridgzptveGzh1HF0gWejVJLR/EjyW+b3RLsYp/ltpRn3hTBIOkPaAQ
	 hwbfyVAEgPie1IVcSeOF/Po1GAETSbVRLvomCdgdeTXlEMNyuF9lOL/ckTyCgfY8pH5IQ
	 6Y4Nc93X0LPzUcdhAt9RmAMpn7sHjcWOqI5mOUzlo12z8jPHRC/i1FtCSdoANTPBfgzZ0
	 6diXD46S4Igf1U9x5X/nwzC2opFVFEkDC4Hc3oGJTgxGkswzAOS9RfuyAgotmWR67lGKE
	 QYI7IAUpBzVLlhwz0WF+SryrZPliPcEcXw68atTD29UmbgUAW0LS0EJ10+Om9aZn/DA==
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=L8Vv15xa;
	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 B71D5606C6FC;
	Tue, 10 Nov 2026 18:40:18 +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=L8Vv15xa
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=1794336012;
	b=Bk7eCasLE972jkIAbJDQV6wv2HfsTeb6vkqNXtPR//EcYwl7/D072kfVr19ZrSHxd9k7
	 pkync60sJTCsqGGYOk1BxTGDx+eE8pnEAIhsQs6FRq98Fm/4u/LRkLn/FPJbtEHBIw4H1
	 ZKhNEjb8Hl8LjK2jslFrWUDWAqekOAePsl2YZyFFvVSgjAURg3PoTt66KSJzLm+kM0Fvw
	 dZn4U2UtC2x0b5rShHxbjKnUDn7p1jMBZHR27sFrS/7HeRWePFwizzpceoArzeomZYOPg
	 KMf1n1sz+XVs/MaSoWpF/HCSD5GPEDDcrBf5HhaWtQSIO0RIaEW0ceZfI6wa1roCc5Q==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794336012;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=j/HiRNgNDwgIfvRr71aE9B1tv3rjx+NrK88z3ezu9PE=;
	b=scG9x7FXe1ZdlZ+aWxCb37m1+hxbyicy1swODeHfKtzjBKEYXTFZKtLSExR0d6F4amvW
	 Gwo7a3GDwifGGmhFfjDbqWwI1wnWSg9eZdW10mr2XY4x2i+5RcqrO/Izu67OQNDzZCTMe
	 FHyYITthW+2bzaOR4lSdEw3cClsP3wD98DwsXuPivEm6p8EFaPRxBAhGKvbcWYNs1ENLn
	 M81RENLcoZNItTa5/sopIJdZmzXjynnLVkgGBHmYv1RkaAmvqghXgM0Rk1bsbGP0RcTWR
	 NPzOMIYdg2HhfkwXcDPAhF2UCw9j7slcFpB+SSmfwOBuUi05IA24Qb71pa/n/3Za8FA==
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=L8Vv15xa;
	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 9966960A6F60;
	Tue, 10 Nov 2026 18:40:12 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C02C1F00903;
	Tue, 10 Nov 2026 18:40:12 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794336012;
	bh=j/HiRNgNDwgIfvRr71aE9B1tv3rjx+NrK88z3ezu9PE=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=L8Vv15xabE9PxRxXolxQJIJ5eseB32KDMxTn9Z3GbSE5WrEecoFvINAhYlC55Hg4t
	 5op/tQkcuvwh6iqZDTs7i1g9ybG3xUKcFJmFwCRl/6YPBkqTELpBc8TUMZCd3NW0wu
	 Z2d6TVY+dCaMyz5VVRc7YEUjhnDxgvmJ/Ne9YoPEAyhW/UeHxuDqGZhcoWcbxgk5U9
	 GhR+4wovk4t2dKRvMhlom+3gqnPXDv8DzjEbuxF+ijK9NWcKqsMCOQgWcb0S5JZ4JM
	 poPtR3b9osQjMrTeKcnQJoqoV5Jboh4foHXuYBSV/QnILBXvAm0gjpyT6qTHqmY2If
	 zYOE+CPt4kiqA==
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 5E19539D6091;
	Tue, 10 Nov 2026 18:40:12 +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: <20261104061419.87989-1-yanxia@cmss.chinamobile.com>
X-Cc: netdev@vger.kernel.org, dsahern@kernel.org, idosch@nvidia.com,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 horms@kernel.org, linux-kernel@vger.kernel.org, yana06070@163.com