]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ipv4: use RCU protection in __ip_rt_update_pmtu()
authorEric Dumazet <edumazet@google.com>
Wed, 5 Feb 2025 15:51:15 +0000 (15:51 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 7 Feb 2025 00:14:14 +0000 (16:14 -0800)
commit139512191bd06f1b496117c76372b2ce372c9a41
treedaed22334690bc89116d835686d020dee45e8267
parent719817cd293e4fa389e1f69c396f3f816ed5aa41
ipv4: use RCU protection in __ip_rt_update_pmtu()

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

Fixes: 2fbc6e89b2f1 ("ipv4: Update exception handling for multipath routes via same device")
Fixes: 1de6b15a434c ("Namespaceify min_pmtu sysctl")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250205155120.1676781-8-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/route.c