diff options
author | Eric Dumazet <edumazet@google.com> | 2025-02-05 15:51:13 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-06 16:14:14 -0800 |
commit | dd205fcc33d92d54eee4d7f21bb073af9bd5ce2b (patch) | |
tree | c14d5cb58d9b25c45ac73338cc75a9f4389713c9 /scripts/lib | |
parent | 71b8471c93fa0bcab911fcb65da1eb6c4f5f735f (diff) |
ipv4: use RCU protection in rt_is_expired()
rt_is_expired() must use RCU protection to make
sure the net structure it reads does not disappear.
Fixes: e84f84f27647 ("netns: place rt_genid into struct net")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250205155120.1676781-6-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions