Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 961a828d authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Fix potential races in xprt_lock_write_next()


We have to ensure that the wake up from the waitqueue and the assignment
of xprt->snd_task are atomic. We can do this by assigning the snd_task
while under the waitqueue spinlock.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 2aeb98f4
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment