[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170905.145000.2066751800287170482.davem@davemloft.net>
Date: Tue, 05 Sep 2017 14:50:00 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: Haakon.Bugge@...cle.com
Cc: santosh.shilimkar@...cle.com, netdev@...r.kernel.org,
linux-rdma@...r.kernel.org, rds-devel@....oracle.com,
linux-kernel@...r.kernel.org, knut.omang@...cle.com,
wei.lin.guay@...cle.com
Subject: Re: [PATCH net] rds: Fix non-atomic operation on shared flag
variable
From: Håkon Bugge <Haakon.Bugge@...cle.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@...cle.com>
> Reviewed-by: Knut Omang <knut.omang@...cle.com>
> Reviewed-by: Wei Lin Guay <wei.lin.guay@...cle.com>
Applied.
Powered by blists - more mailing lists