summary refs log tree commit diff
path: root/Documentation
diff options
context:
space:
mode:
authorHåkon Bugge <Haakon.Bugge@oracle.com>2017-09-05 17:42:01 +0200
committerDavid S. Miller <davem@davemloft.net>2017-09-05 14:49:49 -0700
commitf530f39f5ff97209cc6f1bf66e634685954ad741 (patch)
treee2faf19f16a79c63be1d66f0c6c8e9e74e06d03a /Documentation
parent2c8468dcf8303c68712f11c782d7d8724de07a73 (diff)
downloadlinux-f530f39f5ff97209cc6f1bf66e634685954ad741.tar.gz
rds: Fix non-atomic operation on shared flag variable
The bits in m_flags in struct rds_message are used for a plurality of
reasons, and from different contexts. To avoid any missing updates to
m_flags, use the atomic set_bit() instead of the non-atomic equivalent.

Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Knut Omang <knut.omang@oracle.com>
Reviewed-by: Wei Lin Guay <wei.lin.guay@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions