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

From: patchwork-bot+netdevbpf

Date: Tue Nov 10 2026 - 13:45:19 EST


Hello:

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

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