diff options
| author | Eric Dumazet <edumazet@google.com> | 2025-02-05 15:51:14 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 14:01:41 +0100 |
| commit | ad66c7c4d81d01950244e02c1dacde59feea551d (patch) | |
| tree | b5626418c9dbf3cb38a0a6fe7039e763191a56a4 /tools/testing | |
| parent | 77096420be1fb6a0fda2cdb49847dd984eb5ca62 (diff) | |
| download | linux-ad66c7c4d81d01950244e02c1dacde59feea551d.tar.gz linux-ad66c7c4d81d01950244e02c1dacde59feea551d.tar.bz2 linux-ad66c7c4d81d01950244e02c1dacde59feea551d.zip | |
ipv4: use RCU protection in inet_select_addr()
[ Upstream commit 719817cd293e4fa389e1f69c396f3f816ed5aa41 ]
inet_select_addr() must use RCU protection to make
sure the net structure it reads does not disappear.
Fixes: c4544c724322 ("[NETNS]: Process inet_select_addr inside a namespace.")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250205155120.1676781-7-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions
