diff options
| author | Eric Dumazet <[email protected]> | 2024-05-07 18:41:44 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-05-09 01:51:30 +0000 |
| commit | 8d8b1a422c4644891e1f8a3ea10b544b65cd0cc6 (patch) | |
| tree | 93dbbadb3f9ac8e2befd101adb5d0ad1475c7a05 /tools/testing/selftests/net/lib/py/nsim.py | |
| parent | net: dst_cache: minor optimization in dst_cache_set_ip6() (diff) | |
| download | kernel-8d8b1a422c4644891e1f8a3ea10b544b65cd0cc6.tar.gz kernel-8d8b1a422c4644891e1f8a3ea10b544b65cd0cc6.zip | |
net: annotate data-races around dev->if_port
Various ndo_set_config() methods can change dev->if_port
dev->if_port is going to be read locklessly from
rtnl_fill_link_ifmap().
Add corresponding WRITE_ONCE() on writer sides.
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/nsim.py')
0 files changed, 0 insertions, 0 deletions
