diff options
author | Lin Yi <teroincn@163.com> | 2019-06-10 05:16:56 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-14 09:11:15 +0300 |
commit | e9f76b954336435243ef100e8c8ca20278f9feca (patch) | |
tree | 5b990112f5dfe30b2e1d81a55ab37c3e2f1de2db /fs/crypto/policy.c | |
parent | 810cfc3d9d2e4b345ba7e5d6290b00562e9e0d27 (diff) | |
download | linux-e9f76b954336435243ef100e8c8ca20278f9feca.tar.xz |
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>
Diffstat (limited to 'fs/crypto/policy.c')
0 files changed, 0 insertions, 0 deletions