]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: RPC level errors should set task->tk_rpc_status
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 3 Aug 2022 18:55:03 +0000 (14:55 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 20 Aug 2022 00:32:05 +0000 (20:32 -0400)
commitbf8c2e3bbeca2303f1ee5b2e58fb46e89562ab66
treec892bbab2dbbdab2718965968cb88d2f6dcf3ef6
parent3b7304465d42005243e73ba9ef2ffdfcc4c058de
SUNRPC: RPC level errors should set task->tk_rpc_status

Fix up a case in call_encode() where we're failing to set
task->tk_rpc_status when an RPC level error occurred.

Fixes: c2f31f175b3d ("SUNRPC: task should be exit if encode return EKEYEXPIRED more times")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c