summaryrefslogtreecommitdiffstats
path: root/net/rds/rdma_transport.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-08-11 09:22:26 +0200
committerDavid S. Miller <davem@davemloft.net>2023-08-13 13:23:19 +0200
commit8fe08d70a2b61b35a0a1235c78cf321e7528351f (patch)
tree032e445b905da105ee3c4969c10c9ac1b2cb76dd /net/rds/rdma_transport.h
parentMerge branch 'tcp-oom-probe' (diff)
downloadlinux-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