Linux/linux 19d5504net/sunrpc clnt.c

SUNRPC: Fix a credential refcount leak

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 <idosch at idosch.org>
Fixes: 79caa5fad47c ("SUNRPC: Cache cred of process creating the rpc_client")
Signed-off-by: Trond Myklebust <trond.myklebust at hammerspace.com>
Tested-by: Ido Schimmel <idosch at mellanox.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker at Netapp.com>
DeltaFile
+0-1net/sunrpc/clnt.c
+0-11 files

UnifiedSplitRaw