diff options
author | Eric Dumazet <[email protected]> | 2023-08-11 07:22:26 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-08-13 12:23:19 +0100 |
commit | 8fe08d70a2b61b35a0a1235c78cf321e7528351f (patch) | |
tree | 032e445b905da105ee3c4969c10c9ac1b2cb76dd /tools/perf/scripts/python/task-analyzer.py | |
parent | 86f03776f6d58558912bc05158fa75add1886aca (diff) |
netlink: convert nlk->flags to atomic flags
sk_diag_put_flags(), netlink_setsockopt(), netlink_getsockopt()
and others use nlk->flags without correct locking.
Use set_bit(), clear_bit(), test_bit(), assign_bit() to remove
data-races.
Reported-by: syzbot <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions