diff options
author | Håkon Bugge <Haakon.Bugge@oracle.com> | 2017-09-05 17:42:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-05 14:49:49 -0700 |
commit | f530f39f5ff97209cc6f1bf66e634685954ad741 (patch) | |
tree | e2faf19f16a79c63be1d66f0c6c8e9e74e06d03a /drivers/net | |
parent | 2c8468dcf8303c68712f11c782d7d8724de07a73 (diff) | |
download | linux-stable-f530f39f5ff97209cc6f1bf66e634685954ad741.tar.gz linux-stable-f530f39f5ff97209cc6f1bf66e634685954ad741.tar.bz2 linux-stable-f530f39f5ff97209cc6f1bf66e634685954ad741.zip |
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 'drivers/net')
0 files changed, 0 insertions, 0 deletions