diff options
| author | 2025-10-16 02:52:55 +0000 | |
|---|---|---|
| committer | 2025-10-15 22:09:46 -0500 | |
| commit | c2b77f42205ef485a647f62082c442c1cd69d3fc (patch) | |
| tree | 64b1b8a60567368bbb49555615ff13ada1459615 /scripts/kconfig/tests/preprocess/variable/git:/ssh:/git@git.zx2c4.com | |
| parent | smb: client: let smbd_destroy() wait for SMBDIRECT_SOCKET_DISCONNECTED (diff) | |
| download | wireguard-linux-c2b77f42205ef485a647f62082c442c1cd69d3fc.tar.xz wireguard-linux-c2b77f42205ef485a647f62082c442c1cd69d3fc.zip | |
smb: client: Fix refcount leak for cifs_sb_tlink
Fix three refcount inconsistency issues related to `cifs_sb_tlink`.
Comments for `cifs_sb_tlink` state that `cifs_put_tlink()` needs to be
called after successful calls to `cifs_sb_tlink()`. Three calls fail to
update refcount accordingly, leading to possible resource leaks.
Fixes: 8ceb98437946 ("CIFS: Move rename to ops struct")
Fixes: 2f1afe25997f ("cifs: Use smb 2 - 3 and cifsacl mount options getacl functions")
Fixes: 366ed846df60 ("cifs: Use smb 2 - 3 and cifsacl mount options setacl function")
Cc: stable@vger.kernel.org
Signed-off-by: Shuhao Fu <sfual@cse.ust.hk>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/kconfig/tests/preprocess/variable/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
