diff options
| author | Xuanqiang Luo <luoxuanqiang@kylinos.cn> | 2026-07-08 14:05:36 +0800 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-07-21 11:45:53 +0200 |
| commit | 1469773b246a2b99fddc7331378e270e611f04bc (patch) | |
| tree | 8085877e0fc883b78af4af393f890a58a735ecaf /tools/perf/scripts/python/bin | |
| parent | b9ecdfda4d48b7cb33bff3bd924ded7019aa4df2 (diff) | |
ipv4: use rcu_assign_pointer() in rt_flush_dev()
rt_flush_dev() replaces rt->dst.dev with blackhole_netdev on uncached
routes. The field is also exposed as dst.dev_rcu, and existing readers
use dst_dev_rcu().
Use rcu_assign_pointer() for the replacement, as dst_dev_put() already
does for the same field.
Signed-off-by: Xuanqiang Luo <luoxuanqiang@kylinos.cn>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20260708060537.17188-2-xuanqiang.luo@linux.dev
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
