diff options
| author | David S. Miller <davem@davemloft.net> | 2023-09-15 10:33:49 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-09-15 10:33:49 +0100 |
| commit | e73d5fb75d67538b13fe04d14a55f32ea4efe227 (patch) | |
| tree | 7096c954f2073480a2cb52ef4e443bac1b336679 /tools/perf/scripts/python | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
| parent | ipv6: lockless IPV6_FLOWINFO_SEND implementation (diff) | |
| download | linux-e73d5fb75d67538b13fe04d14a55f32ea4efe227.tar.gz linux-e73d5fb75d67538b13fe04d14a55f32ea4efe227.zip | |
Merge branch 'ipv6-data-races'
Eric Dumazet says:
====================
ipv6: round of data-races fixes
This series is inspired by one related syzbot report.
Many inet6_sk(sk) fields reads or writes are racy.
Move 1-bit fields to inet->inet_flags to provide
atomic safety. inet6_{test|set|clear|assign}_bit() helpers
could be changed later if we need to make room in inet_flags.
Also add missing READ_ONCE()/WRITE_ONCE() when
lockless readers need access to specific fields.
np->srcprefs will be handled separately to avoid merge conflicts
because a prior patch was posted for net tree.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
