diff options
| author | Eric Dumazet <edumazet@google.com> | 2025-02-05 15:51:10 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 14:01:40 +0100 |
| commit | cb4d7fbc937e37b99082fc76945ae1d4d98435ab (patch) | |
| tree | 9e78234e1455189db2e8b35ac0956341de35b31e /include/uapi | |
| parent | 56e6976793c0fcf1638aa534242408ab4e4ca705 (diff) | |
| download | linux-cb4d7fbc937e37b99082fc76945ae1d4d98435ab.tar.gz linux-cb4d7fbc937e37b99082fc76945ae1d4d98435ab.tar.bz2 linux-cb4d7fbc937e37b99082fc76945ae1d4d98435ab.zip | |
ipv4: add RCU protection to ip4_dst_hoplimit()
[ Upstream commit 469308552ca4560176cfc100e7ca84add1bebd7c ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
