diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-06-24 17:16:40 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-06-24 17:16:40 +0900 |
commit | 20733d59d5763ecd96276f868c1f39e677b3b4e2 (patch) | |
tree | 89177676a2a45afa97595ce1827630aa131c51e2 /net/sunrpc/clnt.c | |
parent | 75e1b6a84f7e2186e843da94751b6d175caf9209 (diff) | |
parent | 17e8c4e1ebf139743e3830439fa65fd906af4a43 (diff) |
Merge branch 'fbdev/stable-updates'
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r-- | net/sunrpc/clnt.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index b84d7395535..8c9141583d6 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -1061,7 +1061,7 @@ call_allocate(struct rpc_task *task) dprintk("RPC: %5u rpc_buffer allocation failed\n", task->tk_pid); - if (RPC_IS_ASYNC(task) || !signalled()) { + if (RPC_IS_ASYNC(task) || !fatal_signal_pending(current)) { task->tk_action = call_allocate; rpc_delay(task, HZ>>4); return; @@ -1175,6 +1175,9 @@ call_bind_status(struct rpc_task *task) status = -EOPNOTSUPP; break; } + if (task->tk_rebind_retry == 0) + break; + task->tk_rebind_retry--; rpc_delay(task, 3*HZ); goto retry_timeout; case -ETIMEDOUT: |