Skip to content
Snippets Groups Projects
Commit c48c1a4c authored by Eric Dumazet's avatar Eric Dumazet Committed by Frieder Schrempf
Browse files

ipv4: use RCU protection in __ip_rt_update_pmtu()


[ Upstream commit 139512191bd06f1b496117c76372b2ce372c9a41 ]

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

Fixes: 2fbc6e89 ("ipv4: Update exception handling for multipath routes via same device")
Fixes: 1de6b15a ("Namespaceify min_pmtu sysctl")
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250205155120.1676781-8-edumazet@google.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e8078838
No related branches found
No related tags found
1 merge request!191🤖 Sync Bot: Update v6.1-ktn to Latest Stable Kernel (v6.1.129)
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment