]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
smb: client: fix smbdirect_recv_io leak in smbd_negotiate() error path
authorStefan Metzmacher <metze@samba.org>
Thu, 18 Sep 2025 01:06:46 +0000 (03:06 +0200)
committerSteve French <stfrench@microsoft.com>
Thu, 18 Sep 2025 21:46:04 +0000 (16:46 -0500)
commitdaac51c7032036a0ca5f1aa419ad1b0471d1c6e0
tree5f755bcc2db9093f4501d70f9ccda972f240705e
parent251090e2c2c1be60607d1c521af2c993f04d4f61
smb: client: fix smbdirect_recv_io leak in smbd_negotiate() error path

During tests of another unrelated patch I was able to trigger this
error: Objects remaining on __kmem_cache_shutdown()

Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: Namjae Jeon <linkinjeon@kernel.org>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Fixes: f198186aa9bb ("CIFS: SMBD: Establish SMB Direct connection")
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smbdirect.c