[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170307.135928.594434139062899205.davem@davemloft.net>
Date:   Tue, 07 Mar 2017 13:59:28 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     dhowells@...hat.com
Cc:     netdev@...r.kernel.org, linux-afs@...ts.infradead.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] rxrpc: Call state should be read with READ_ONCE()
 under some circumstances
From: David Howells <dhowells@...hat.com>
Date: Sat, 04 Mar 2017 00:01:41 +0000
> The call state may be changed at any time by the data-ready routine in
> response to received packets, so if the call state is to be read and acted
> upon several times in a function, READ_ONCE() must be used unless the call
> state lock is held.
> 
> Signed-off-by: David Howells <dhowells@...hat.com>
Applied.
Powered by blists - more mailing lists
 
