diff options
author | 2025-02-05 15:51:10 +0000 | |
---|---|---|
committer | 2025-02-06 16:14:14 -0800 | |
commit | 469308552ca4560176cfc100e7ca84add1bebd7c (patch) | |
tree | 5cfe694bd89e86f6172b3f836a6a6c2fc009b77c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: add dev_net_rcu() helper (diff) | |
download | wireguard-linux-469308552ca4560176cfc100e7ca84add1bebd7c.tar.xz wireguard-linux-469308552ca4560176cfc100e7ca84add1bebd7c.zip |
ipv4: add RCU protection to ip4_dst_hoplimit()
ip4_dst_hoplimit() must use RCU protection to make
sure the net structure it reads does not disappear.
Fixes: fa50d974d104 ("ipv4: Namespaceify ip_default_ttl sysctl knob")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250205155120.1676781-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions