mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-26 19:14:18 +00:00
ipv4: use RCU protection in rt_is_expired()
[ Upstream commitdd205fcc33] rt_is_expired() must use RCU protection to make sure the net structure it reads does not disappear. Fixes:e84f84f276("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
30a26bffd7
commit
1f778d7a8b
1 changed files with 7 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue