[PATCH net] rxrpc: Call state should be read with READ_ONCE() under some circumstances
David Miller
davem at davemloft.net
Tue Mar 7 13:59:28 PST 2017
From: David Howells <dhowells at redhat.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 at redhat.com>
Applied.
More information about the linux-afs
mailing list