diff options
author | Eric Dumazet <edumazet@google.com> | 2023-08-11 09:22:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-08-13 13:23:19 +0200 |
commit | 8fe08d70a2b61b35a0a1235c78cf321e7528351f (patch) | |
tree | 032e445b905da105ee3c4969c10c9ac1b2cb76dd /net/rds/rdma_transport.h | |
parent | Merge branch 'tcp-oom-probe' (diff) | |
download | linux-8fe08d70a2b61b35a0a1235c78cf321e7528351f.tar.xz linux-8fe08d70a2b61b35a0a1235c78cf321e7528351f.zip |
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 <syzkaller@googlegroups.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/rdma_transport.h')
0 files changed, 0 insertions, 0 deletions