Re: [PATCH net] rxrpc: Call state should be read with READ_ONCE() under some circumstances

From: David Miller
Date: Tue Mar 07 2017 - 22:24:51 EST


From: David Howells <dhowells@xxxxxxxxxx>
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@xxxxxxxxxx>

Applied.