]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc2f31f175b3dea6696f4effc2bce8c54d3aa69c0
tree1969a626d5db2dad4cb8352930df563a427299d0
parentf911a9568d9a89dac8ca6666745c9d4964d6efa5
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