summaryrefslogtreecommitdiff
path: root/net/rds
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-08-11 07:22:26 +0000
committerDavid S. Miller <davem@davemloft.net>2023-08-13 12:23:19 +0100
commit8fe08d70a2b61b35a0a1235c78cf321e7528351f (patch)
tree032e445b905da105ee3c4969c10c9ac1b2cb76dd /net/rds
parent86f03776f6d58558912bc05158fa75add1886aca (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 <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')
0 files changed, 0 insertions, 0 deletions