]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Fix races with rpc_killall_tasks()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 5 Oct 2022 19:57:35 +0000 (15:57 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 6 Oct 2022 13:52:09 +0000 (09:52 -0400)
commit84e2e42004638e95ce38bb438e47c9ca9d6406e1
tree8ec7c409191f59a7a640cf83875ead610d6c7e76
parentbcc83b12a021b0c83416e8462aa6117b67b4a6a9
SUNRPC: Fix races with rpc_killall_tasks()

Ensure that we immediately call rpc_exit_task() after waking up, and
that the tk_rpc_status cannot get clobbered by some other function.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/sched.h
net/sunrpc/clnt.c
net/sunrpc/sched.c
net/sunrpc/xprtsock.c