diff options
author | David Howells <dhowells@redhat.com> | 2017-03-04 00:01:41 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-07 13:59:06 -0800 |
commit | 146d8fef9da1ba854de7fa28b9cb9eb147535f88 (patch) | |
tree | 76b9bea4ac0c4bcd1a2c50418a304007b54ad6bd /net/core | |
parent | 02b2faaf0af1d85585f6d6980e286d53612acfc2 (diff) | |
download | linux-146d8fef9da1ba854de7fa28b9cb9eb147535f88.tar.bz2 |
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>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions