commit | 146d8fef9da1ba854de7fa28b9cb9eb147535f88 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Sat Mar 04 00:01:41 2017 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 07 13:59:06 2017 -0800 |
tree | 76b9bea4ac0c4bcd1a2c50418a304007b54ad6bd | |
parent | 02b2faaf0af1d85585f6d6980e286d53612acfc2 [diff] |
rxrpc: Call state should be read with READ_ONCE() under some circumstances 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@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>