]> err.no Git - linux-2.6/commit
[PATCH] RPC: Fix a race with rpc_restart_call()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 22 Jun 2005 17:16:19 +0000 (17:16 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 22 Jun 2005 20:07:01 +0000 (16:07 -0400)
commitd05fdb0cec75415b2d9eb95748386e67414e49c3
tree2d324e17a705547c7dbc0c20f8b20293d85abd2e
parent4e93d3e8859c834ee18dfd33051d24df8669d0c0
[PATCH] RPC: Fix a race with rpc_restart_call()

 If the task->tk_exit() wants to restart the RPC call after delaying
 then the current RPC code will clobber the timer by calling
 rpc_delete_timer() immediately after re-entering the loop in
 __rpc_execute().

 Problem noticed by Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/sched.c