diff options
author | 2017-09-05 17:42:01 +0200 | |
---|---|---|
committer | 2017-09-05 14:49:49 -0700 | |
commit | f530f39f5ff97209cc6f1bf66e634685954ad741 (patch) | |
tree | e2faf19f16a79c63be1d66f0c6c8e9e74e06d03a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: sched: don't use GFP_KERNEL under spin lock (diff) | |
download | wireguard-linux-f530f39f5ff97209cc6f1bf66e634685954ad741.tar.xz wireguard-linux-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 '')
0 files changed, 0 insertions, 0 deletions