diff options
author | 2022-11-18 16:42:07 +0800 | |
---|---|---|
committer | 2023-02-20 11:48:48 -0600 | |
commit | e9d3401d95d62a9531082cd2453ed42f2740e3fd (patch) | |
tree | 09180e828518deb97d0a88f7a9ed5b41c9d80ecf /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cifs: return a single-use cfid if we did not get a lease (diff) | |
download | wireguard-linux-e9d3401d95d62a9531082cd2453ed42f2740e3fd.tar.xz wireguard-linux-e9d3401d95d62a9531082cd2453ed42f2740e3fd.zip |
cifs: Fix lost destroy smbd connection when MR allocate failed
If the MR allocate failed, the smb direct connection info is NULL,
then smbd_destroy() will directly return, then the connection info
will be leaked.
Let's set the smb direct connection info to the server before call
smbd_destroy().
Fixes: c7398583340a ("CIFS: SMBD: Implement RDMA memory registration")
Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com>
Acked-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: David Howells <dhowells@redhat.com>
Reviewed-by: Tom Talpey <tom@talpey.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions