Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ee72b9fd authored by David Howells's avatar David Howells
Browse files

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: default avatarDavid Howells <dhowells@redhat.com>
parent b4f1342f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment