diff options
author | David Howells <dhowells@redhat.com> | 2017-03-04 01:01:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-07 22:59:06 +0100 |
commit | 146d8fef9da1ba854de7fa28b9cb9eb147535f88 (patch) | |
tree | 76b9bea4ac0c4bcd1a2c50418a304007b54ad6bd /kernel/printk | |
parent | tcp: fix various issues for sockets morphing to listen state (diff) | |
download | linux-146d8fef9da1ba854de7fa28b9cb9eb147535f88.tar.xz linux-146d8fef9da1ba854de7fa28b9cb9eb147535f88.zip |
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 'kernel/printk')
0 files changed, 0 insertions, 0 deletions