Commit 719817cd authored by Eric Dumazet's avatar Eric Dumazet Committed by Jakub Kicinski
Browse files

ipv4: use RCU protection in inet_select_addr()



inet_select_addr() must use RCU protection to make
sure the net structure it reads does not disappear.

Fixes: c4544c72 ("[NETNS]: Process inet_select_addr inside a namespace.")
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250205155120.1676781-7-edumazet@google.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent dd205fcc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment