diff options
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r-- | net/sunrpc/clnt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index e6a2678ecec3..76be83ee4b04 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -1271,7 +1271,6 @@ call_refresh(struct rpc_task *task) | |||
1271 | { | 1271 | { |
1272 | dprint_status(task); | 1272 | dprint_status(task); |
1273 | 1273 | ||
1274 | xprt_release(task); /* Must do to obtain new XID */ | ||
1275 | task->tk_action = call_refreshresult; | 1274 | task->tk_action = call_refreshresult; |
1276 | task->tk_status = 0; | 1275 | task->tk_status = 0; |
1277 | task->tk_client->cl_stats->rpcauthrefresh++; | 1276 | task->tk_client->cl_stats->rpcauthrefresh++; |
@@ -1389,6 +1388,8 @@ call_verify(struct rpc_task *task) | |||
1389 | dprintk("RPC: %5u %s: retry stale creds\n", | 1388 | dprintk("RPC: %5u %s: retry stale creds\n", |
1390 | task->tk_pid, __FUNCTION__); | 1389 | task->tk_pid, __FUNCTION__); |
1391 | rpcauth_invalcred(task); | 1390 | rpcauth_invalcred(task); |
1391 | /* Ensure we obtain a new XID! */ | ||
1392 | xprt_release(task); | ||
1392 | task->tk_action = call_refresh; | 1393 | task->tk_action = call_refresh; |
1393 | goto out_retry; | 1394 | goto out_retry; |
1394 | case RPC_AUTH_BADCRED: | 1395 | case RPC_AUTH_BADCRED: |