Re: [PATCH net-next v2 0/3] align IPv4 teardown with IPv6 and fix driver regressions
From: patchwork-bot+netdevbpf
Date: Tue Jul 21 2026 - 18:26:38 EST
Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sat, 11 Jul 2026 09:54:01 +0900 you wrote:
> This series aligns the IPv4 address teardown sequence with IPv6 by clearing
> dev->ip_ptr early in inetdev_destroy() before freeing the multicast list and
> individual IP addresses. This prevents RCU readers from accessing a partially
> destroyed in_device structure.
>
> However, clearing dev->ip_ptr early causes __in_dev_get_rtnl() to return NULL
> during the notifier loop in inetdev_destroy(). This causes regressions in
> some drivers (prestera and mac80211) that use this lookup helper in their
> inetaddr notifier callbacks.
>
> [...]
Here is the summary with links:
- [net-next,v2,1/3] net: prestera: ignore duplicate RIF destruction events
https://git.kernel.org/netdev/net-next/c/3cbbc9fa3338
- [net-next,v2,2/3] wifi: mac80211: use ifa_dev from event argument
https://git.kernel.org/netdev/net-next/c/e5b14e9ae82b
- [net-next,v2,3/3] net: ipv4: clear dev->ip_ptr before destroying inetdev
https://git.kernel.org/netdev/net-next/c/aa22336b76b7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html