mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
Merge branch 'ipv4-update-rt_flush_dev-and-two-dst-dev-readers'
Xuanqiang Luo says: ==================== ipv4: update rt_flush_dev() and two dst.dev readers From: Xuanqiang Luo <xuanqiang.luo@linux.dev> 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. v2: https://lore.kernel.org/lkml/20260701032434.17500-1-xuanqiang.luo@linux.dev/ v1: https://lore.kernel.org/all/20260630094250.29386-1-xuanqiang.luo@linux.dev/ ==================== Link: https://patch.msgid.link/20260708060537.17188-1-xuanqiang.luo@linux.dev Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
commit
abc435224e
1 changed files with 19 additions and 14 deletions
Loading…
Add table
Add a link
Reference in a new issue