[rds-devel] [PATCH net] rds: Fix non-atomic operation on shared flag variable
David Miller
davem at davemloft.net
Tue Sep 5 14:50:00 PDT 2017
From: Håkon Bugge <Haakon.Bugge at oracle.com>
Date: Tue, 5 Sep 2017 17:42:01 +0200
> 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 at oracle.com>
> Reviewed-by: Knut Omang <knut.omang at oracle.com>
> Reviewed-by: Wei Lin Guay <wei.lin.guay at oracle.com>
Applied.
More information about the rds-devel
mailing list