summaryrefslogtreecommitdiff
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorHenrique Carvalho <henrique.carvalho@suse.com>2026-02-05 02:06:43 +0300
committerSteve French <stfrench@microsoft.com>2026-02-09 05:25:16 +0300
commit77ffbcac4e569566d0092d5f22627dfc0896b553 (patch)
treea8bccdc477bdbc4919d965000c04dd6c7ed6c525 /include/linux/stringify.h
parentb38f99c1217ae04753340f0fdcd8f35bf56841dc (diff)
downloadlinux-77ffbcac4e569566d0092d5f22627dfc0896b553.tar.xz
smb: server: fix leak of active_num_conn in ksmbd_tcp_new_connection()
On kthread_run() failure in ksmbd_tcp_new_connection(), the transport is freed via free_transport(), which does not decrement active_num_conn, leaking this counter. Replace free_transport() with ksmbd_tcp_disconnect(). Fixes: 0d0d4680db22e ("ksmbd: add max connections parameter") Cc: stable@vger.kernel.org Signed-off-by: Henrique Carvalho <henrique.carvalho@suse.com> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions