commit | ed574f702748dd5a5b4d8192e9dbf03344ab5734 | [log] [tgz] |
---|---|---|
author | Lin Yi <teroincn@163.com> | Mon Jun 10 10:16:56 2019 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jul 21 09:05:57 2019 +0200 |
tree | 353b50f58d21be1fc07a7e11b38b3ef21324bc1b | |
parent | 3b2f8a66ae6034e9f32d6baeae517ad3400161a3 [diff] |
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: Lin Yi <teroincn@163.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Sasha Levin <sashal@kernel.org>