summaryrefslogtreecommitdiff
path: root/include/uapi/linux/patchkey.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-03-04 18:58:06 +0300
committerDavid Howells <dhowells@redhat.com>2016-03-04 18:58:06 +0300
commitee72b9fddb41a2087b4a7aa74791ef1700f3f6cc (patch)
tree36725c70bc83ff45d66bdb4f7b3377d09722e4e7 /include/uapi/linux/patchkey.h
parentb4f1342f915201ee15ef6890857b5469879ee402 (diff)
downloadlinux-ee72b9fddb41a2087b4a7aa74791ef1700f3f6cc.tar.xz
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>
Diffstat (limited to 'include/uapi/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions