SUNRPC: Mark the cred for revalidation if the server rejects it
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Sep 2023 16:50:09 +0000 (12:50 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 13 Sep 2023 15:51:11 +0000 (11:51 -0400)
commit611fa42dfa9d2f3918ac5f4dd5705dfad81b323d
tree68031ea8e01a51ad827db4f86ac0e2705283138c
parentdd7d7ee3ba2a70d12d02defb478790cf57d5b87b
SUNRPC: Mark the cred for revalidation if the server rejects it

If the server rejects the credential as being stale, or bad, then we
should mark it for revalidation before retransmitting.

Fixes: 7f5667a5f8c4 ("SUNRPC: Clean up rpc_verify_header()")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/clnt.c