Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH 6.1.y 0/2] ksmbd: fix residual active_num_conn leak on 6.1.y
@ 2026-05-12  2:46 Ferry Meng
  2026-05-12  2:46 ` [PATCH 6.1.y 1/2] ksmbd: make ksmbd thread names distinct by client IP Ferry Meng
  2026-05-12  2:46 ` [PATCH 6.1.y 2/2] smb: server: fix active_num_conn leak on transport allocation failure Ferry Meng
  0 siblings, 2 replies; 3+ messages in thread
From: Ferry Meng @ 2026-05-12  2:46 UTC (permalink / raw)
  To: stable; +Cc: Namjae Jeon, Steve French

This series closes a residual active_num_conn leak on the 6.1.y stable

Upstream commits 77ffbcac4e56 ("smb: server: fix leak of active_num_conn
in ksmbd_tcp_new_connection()") and 6551300dc452 ("smb: server: fix
active_num_conn leak on transport allocation failure") have already been
backported to 6.1.y, but upstream 77ffbcac4e56 was built on top of
5da92a251e41 ("ksmbd: make ksmbd thread names distinct by client IP"),
which removes kernel_getpeername() and the out_error: label in
ksmbd_tcp_new_connection().

This series picks up the missing dependency commit and the follow-up fix
so that 6.1.y has the same failure-path semantics as mainline.

Michael Bommarito (1):
  smb: server: fix active_num_conn leak on transport allocation failure

Namjae Jeon (1):
  ksmbd: make ksmbd thread names distinct by client IP

 fs/smb/server/transport_tcp.c | 41 +++++++++++++----------------------
 1 file changed, 15 insertions(+), 26 deletions(-)

-- 
2.43.5


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-12  2:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12  2:46 [PATCH 6.1.y 0/2] ksmbd: fix residual active_num_conn leak on 6.1.y Ferry Meng
2026-05-12  2:46 ` [PATCH 6.1.y 1/2] ksmbd: make ksmbd thread names distinct by client IP Ferry Meng
2026-05-12  2:46 ` [PATCH 6.1.y 2/2] smb: server: fix active_num_conn leak on transport allocation failure Ferry Meng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox