X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fsunrpc%2Fclnt.c;fp=net%2Fsunrpc%2Fclnt.c;h=566bcfd067f67d6cbfa35d9cd60b579994d443cd;hb=0b760113a3a155269a3fba93a409c640031dd68f;hp=b84d7395535e7aae2d523797134c27d8a9e57c11;hpb=9e3bd4e24e94d60d2e0762e919aab6c9a7fc0c5b;p=pandora-kernel.git diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index b84d7395535e..566bcfd067f6 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -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: