summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/rxkad.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-03-04 15:58:06 +0000
committerDavid Howells <dhowells@redhat.com>2016-03-04 15:58:06 +0000
commitee72b9fddb41a2087b4a7aa74791ef1700f3f6cc (patch)
tree36725c70bc83ff45d66bdb4f7b3377d09722e4e7 /net/rxrpc/rxkad.c
parentb4f1342f915201ee15ef6890857b5469879ee402 (diff)
downloadlinux-ee72b9fddb41a2087b4a7aa74791ef1700f3f6cc.tar.bz2
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 'net/rxrpc/rxkad.c')
0 files changed, 0 insertions, 0 deletions