diff options
| author | Eric Dumazet <edumazet@google.com> | 2025-02-05 15:51:11 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 14:01:40 +0100 |
| commit | dfe542e745fcedbe46f964d5fb6c954aada823b1 (patch) | |
| tree | b209cca49721ce9799a5cbb1c6f525df570069bb /net | |
| parent | cb4d7fbc937e37b99082fc76945ae1d4d98435ab (diff) | |
| download | linux-dfe542e745fcedbe46f964d5fb6c954aada823b1.tar.gz linux-dfe542e745fcedbe46f964d5fb6c954aada823b1.tar.bz2 linux-dfe542e745fcedbe46f964d5fb6c954aada823b1.zip | |
ipv4: use RCU protection in ip_dst_mtu_maybe_forward()
[ Upstream commit 071d8012869b6af352acca346ade13e7be90a49f ]
ip_dst_mtu_maybe_forward() must use RCU protection to make
sure the net structure it reads does not disappear.
Fixes: f87c10a8aa1e8 ("ipv4: introduce ip_dst_mtu_maybe_forward and protect forwarding path against pmtu spoofing")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250205155120.1676781-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions
