Skip to content
Commit 8aca67f0 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Fix a potential race in rpc_wake_up_task()



Use RCU to ensure that we can safely call rpc_finish_wakeup after we've
called __rpc_do_wake_up_task. If not, there is a theoretical race, in which
the rpc_task finishes executing, and gets freed first.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent e6b3c4db
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