diff options
author | 2023-09-18 14:23:21 +0000 | |
---|---|---|
committer | 2023-09-19 18:21:44 +0200 | |
commit | fa17a6d8a5bd0cd7565b613cb804242cd0f6b7ab (patch) | |
tree | 47b212f49ee830235b382165cf734328cdff2e00 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: phy: fix regression with AX88772A PHY driver (diff) | |
download | wireguard-linux-fa17a6d8a5bd0cd7565b613cb804242cd0f6b7ab.tar.xz wireguard-linux-fa17a6d8a5bd0cd7565b613cb804242cd0f6b7ab.zip |
ipv6: lockless IPV6_ADDR_PREFERENCES implementation
We have data-races while reading np->srcprefs
Switch the field to a plain byte, add READ_ONCE()
and WRITE_ONCE() annotations where needed,
and IPV6_ADDR_PREFERENCES setsockopt() can now be lockless.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20230918142321.1794107-1-edumazet@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions