]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
SUNRPC: Don't start a timer on an already queued rpc task
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 4 Apr 2020 23:52:21 +0000 (19:52 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 4 Apr 2020 23:59:27 +0000 (19:59 -0400)
commit1fab7dc477241c12f977955aa6baea7938b6f08d
tree0ecd0496922009cbb61398d0b6c8591b0a365c46
parent44ea8dfce021db1db6a31970b1f13a80366a1f21
SUNRPC: Don't start a timer on an already queued rpc task

Move the test for whether a task is already queued to prevent
corruption of the timer list in __rpc_sleep_on_priority_timeout().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/sched.c