mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 10:07:52 +00:00
All callers of __rpc_clone_client() pass in a value for args->cred,
meaning that the credential gets assigned and referenced in
the call to rpc_new_client().
Reported-by: Ido Schimmel <[email protected]>
Fixes: 79caa5fad4 ("SUNRPC: Cache cred of process creating the rpc_client")
Signed-off-by: Trond Myklebust <[email protected]>
Tested-by: Ido Schimmel <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>