[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164604661073.20013.1894707946002547929.git-patchwork-notify@kernel.org>
Date: Mon, 28 Feb 2022 11:10:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: None <j.nixdorf@....de>
Cc: davem@...emloft.net, yoshfuji@...ux-ipv6.org, dsahern@...nel.org,
kuba@...nel.org, xiyou.wangcong@...il.com,
hannes@...essinduktion.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: ipv6: ensure we call ipv6_mc_down() at most once
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Thu, 24 Feb 2022 10:06:49 +0100 you wrote:
> There are two reasons for addrconf_notify() to be called with NETDEV_DOWN:
> either the network device is actually going down, or IPv6 was disabled
> on the interface.
>
> If either of them stays down while the other is toggled, we repeatedly
> call the code for NETDEV_DOWN, including ipv6_mc_down(), while never
> calling the corresponding ipv6_mc_up() in between. This will cause a
> new entry in idev->mc_tomb to be allocated for each multicast group
> the interface is subscribed to, which in turn leaks one struct ifmcaddr6
> per nontrivial multicast group the interface is subscribed to.
>
> [...]
Here is the summary with links:
- net: ipv6: ensure we call ipv6_mc_down() at most once
https://git.kernel.org/netdev/net/c/9995b408f17f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists