diff options
| author | Eric Dumazet <edumazet@google.com> | 2025-02-05 15:51:15 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 14:01:41 +0100 |
| commit | 4583748b65dee4d61bd50a2214715b4237bc152a (patch) | |
| tree | ae1998244c294a01d33f1274b98db2df1d25d0ae /net/switchdev | |
| parent | 7f5005457b3072fe1ddf15bfef869f2a1d98e05e (diff) | |
| download | linux-4583748b65dee4d61bd50a2214715b4237bc152a.tar.gz linux-4583748b65dee4d61bd50a2214715b4237bc152a.tar.bz2 linux-4583748b65dee4d61bd50a2214715b4237bc152a.zip | |
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: 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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions
