SUNRPC: task should be exit if encode return EKEYEXPIRED more times
authorZhangXiaoxu <zhangxiaoxu5@huawei.com>
Mon, 29 Apr 2019 09:32:31 +0000 (17:32 +0800)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 9 May 2019 20:26:56 +0000 (16:26 -0400)
commit9c5948c248696ca60c56ec5a608e225c4ab8a854
tree1969a626d5db2dad4cb8352930df563a427299d0
parentf02f3755dbd14fb935d24b14650fff9ba92243b8
SUNRPC: task should be exit if encode return EKEYEXPIRED more times

If the rpc.gssd always return cred success, but now the cred is
expired, then the task will loop in call_refresh and call_transmit.

Exit the rpc task after retry.

Signed-off-by: ZhangXiaoxu <zhangxiaoxu5@huawei.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/clnt.c