Re: [PATCH net-next v3 0/2] ipv4: update rt_flush_dev() and two dst.dev readers

From: patchwork-bot+netdevbpf

Date: Tue Jul 21 2026 - 06:06:17 EST


Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Wed, 8 Jul 2026 14:05:35 +0800 you wrote:
> From: Xuanqiang Luo <xuanqiang.luo@xxxxxxxxx>
>
> Patch 1 makes the rt_flush_dev() write to rt->dst.dev use
> rcu_assign_pointer(), matching the existing dst_dev_rcu() readers.
>
> Patch 2 makes ip_rt_send_redirect() and ip_rt_get_source() use one
> dst.dev snapshot throughout each operation, so a concurrent rt_flush_dev()
> update cannot make them use values from two devices.
>
> [...]

Here is the summary with links:
- [net-next,v3,1/2] ipv4: use rcu_assign_pointer() in rt_flush_dev()
https://git.kernel.org/netdev/net-next/c/1469773b246a
- [net-next,v3,2/2] ipv4: snapshot dst.dev in ip_rt_send_redirect() and ip_rt_get_source()
https://git.kernel.org/netdev/net-next/c/7804eaa057fe

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html