commit | ee72b9fddb41a2087b4a7aa74791ef1700f3f6cc | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Fri Mar 04 15:58:06 2016 +0000 |
committer | David Howells <dhowells@redhat.com> | Fri Mar 04 15:58:06 2016 +0000 |
tree | 36725c70bc83ff45d66bdb4f7b3377d09722e4e7 | |
parent | b4f1342f915201ee15ef6890857b5469879ee402 [diff] |
rxrpc: Use ACCESS_ONCE() when accessing circular buffer pointers Use ACCESS_ONCE() when accessing the other-end pointer into a circular buffer as it's possible the other-end pointer might change whilst we're doing this, and if we access it twice, we might get some weird things happening. Signed-off-by: David Howells <dhowells@redhat.com>