Skip to content
Commit 056f6816 authored by Trond Myklebust's avatar Trond Myklebust Committed by Andi Kleen
Browse files

SUNRPC: Fix a race between work-queue and rpc_killall_tasks



[ upstream commit b55c5989 ]

Since rpc_killall_tasks may modify the rpc_task's tk_action field
without any locking, we need to be careful when dereferencing it.

Reported-by: default avatarBen Greear <greearb@candelatech.com>
Tested-by: default avatarBen Greear <greearb@candelatech.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
parent 0e7d8910
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