Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9f76b95 authored by Lin Yi's avatar Lin Yi Committed by Greg Kroah-Hartman
Browse files

net :sunrpc :clnt :Fix xps refcount imbalance on the error path



[ Upstream commit b96226148491505318228ac52624956bd98f9e0c ]

rpc_clnt_add_xprt take a reference to struct rpc_xprt_switch, but forget
to release it before return, may lead to a memory leak.

Signed-off-by: default avatarLin Yi <teroincn@163.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 810cfc3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment