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