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

2017-03-07 Thread David Miller
From: David Howells Date: Sat, 04 Mar 2017 00:01:41 + > 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

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

2017-03-03 Thread David Howells
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 ---