Linux CIFS filesystem development
 help / color / mirror / Atom feed
* [GIT PULL] ksmbd server and smbdirect fixes
@ 2026-02-12  0:31 Steve French
  2026-02-12 19:13 ` pr-tracker-bot
  0 siblings, 1 reply; 4+ messages in thread
From: Steve French @ 2026-02-12  0:31 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS, Namjae Jeon

Please pull the following changes since commit
05f7e89ab9731565d8a62e3b5d1ec206485eeb0b:

  Linux 6.19 (2026-02-08 13:03:27 -0800)

are available in the Git repository at:

  git://git.samba.org/ksmbd.git tags/v7.0-rc-part1-ksmbd-and-smbdirect-fixes

for you to fetch changes up to 8f7df60fe063b6b8f039af1042a4b99214347dd1:

  ksmbd: fix non-IPv6 build (2026-02-10 12:58:10 -0600)

----------------------------------------------------------------
32 ksmbd and smbdirect (RDMA) fixes
 - Fix tcp connection leak
 - Fix potential use after free when freeing multichannel
 - Fix locking problem in showing channel list
 - Locking improvement for tree connection
 - Fix infinite loop when signing errors
 - Add /proc interface for monitoring server state
 - Fixes to avoid mixing iWarp and InfiniBand/RoCEv1/RoCEv2 port
ranges used for smbdirect
 - Fixes for smbdirect credit handling problems,
these make the connections more reliable
----------------------------------------------------------------
Arnd Bergmann (1):
      ksmbd: fix non-IPv6 build

Bahubali B Gumaji (1):
      ksmbd: add procfs interface for runtime monitoring and statistics

Henrique Carvalho (1):
      smb: server: fix leak of active_num_conn in ksmbd_tcp_new_connection()

Namjae Jeon (4):
      ksmbd: fix infinite loop caused by next_smb2_rcv_hdr_off reset
in error paths
      ksmbd: add chann_lock to protect ksmbd_chann_list xarray
      ksmbd: fix missing chann_lock while iterating session channel list
      ksmbd: convert tree_conns_lock to rw_semaphore

Stefan Metzmacher (25):
      smb: smbdirect: introduce smbdirect_socket.recv_io.credits.available
      smb: smbdirect: introduce smbdirect_socket.send_io.bcredits.*
      smb: server: make use of smbdirect_socket.recv_io.credits.available
      smb: server: let recv_done() queue a refill when the peer is low
on credits
      smb: server: make use of smbdirect_socket.send_io.bcredits
      smb: server: fix last send credit problem causing disconnects
      smb: server: let send_done handle a completion without IB_SEND_SIGNALED
      smb: client: make use of smbdirect_socket.recv_io.credits.available
      smb: client: let recv_done() queue a refill when the peer is low
on credits
      smb: client: let smbd_post_send() make use of request->wr
      smb: client: remove pointless sc->recv_io.credits.count rollback
      smb: client: remove pointless sc->send_io.pending handling in
smbd_post_send_it
er()
      smb: client: port and use the wait_for_credits logic used by server
      smb: client: split out smbd_ib_post_send()
      smb: client: introduce and use smbd_{alloc, free}_send_io()
      smb: client: use smbdirect_send_batch processing
      smb: client: make use of smbdirect_socket.send_io.bcredits
      smb: client: fix last send credit problem causing disconnects
      smb: client: let smbd_post_send_negotiate_req() use smbd_post_send()
      smb: client: let send_done handle a completion without IB_SEND_SIGNALED
      RDMA/core: introduce rdma_restrict_node_type()
      smb: client: make use of rdma_restrict_node_type()
      smb: server: make use of rdma_restrict_node_type()
      smb: client: correct value for smbd_max_fragmented_recv_size
      smb: server: correct value for smb_direct_max_fragmented_recv_size

 drivers/infiniband/core/cma.c              |  30 ++
 drivers/infiniband/core/cma_priv.h         |   1 +
 fs/smb/client/smbdirect.c                  | 568 ++++++++++++++++++++++-------
 fs/smb/common/smbdirect/smbdirect_socket.h |  18 +
 fs/smb/server/Makefile                     |   1 +
 fs/smb/server/connection.c                 |  59 +++
 fs/smb/server/connection.h                 |   5 +-
 fs/smb/server/mgmt/tree_connect.c          |  36 +-
 fs/smb/server/mgmt/user_config.c           |   6 +-
 fs/smb/server/mgmt/user_config.h           |   2 +-
 fs/smb/server/mgmt/user_session.c          | 231 +++++++++++-
 fs/smb/server/mgmt/user_session.h          |   8 +-
 fs/smb/server/misc.h                       |  30 ++
 fs/smb/server/proc.c                       | 134 +++++++
 fs/smb/server/server.c                     |  15 +-
 fs/smb/server/smb2ops.c                    |   4 +
 fs/smb/server/smb2pdu.c                    |  23 +-
 fs/smb/server/smb_common.c                 |  24 ++
 fs/smb/server/smb_common.h                 |   2 +
 fs/smb/server/stats.h                      |  73 ++++
 fs/smb/server/transport_rdma.c             | 297 ++++++++++++---
 fs/smb/server/transport_tcp.c              |   3 +-
 fs/smb/server/vfs.c                        |   3 +
 fs/smb/server/vfs_cache.c                  |  94 +++++
 include/rdma/rdma_cm.h                     |  17 +
 25 files changed, 1483 insertions(+), 201 deletions(-)
 create mode 100644 fs/smb/server/proc.c
 create mode 100644 fs/smb/server/stats.h


-- 
Thanks,

Steve

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

* Re: [GIT PULL] ksmbd server and smbdirect fixes
  2026-02-12  0:31 Steve French
@ 2026-02-12 19:13 ` pr-tracker-bot
  0 siblings, 0 replies; 4+ messages in thread
From: pr-tracker-bot @ 2026-02-12 19:13 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, LKML, CIFS, Namjae Jeon

The pull request you sent on Wed, 11 Feb 2026 18:31:56 -0600:

> git://git.samba.org/ksmbd.git tags/v7.0-rc-part1-ksmbd-and-smbdirect-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d53f4d93f3d686fd64513abb3977c9116bbfdaf8

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

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

* [GIT PULL] ksmbd server and smbdirect fixes
@ 2026-05-07  3:57 Steve French
  2026-05-07  5:08 ` pr-tracker-bot
  0 siblings, 1 reply; 4+ messages in thread
From: Steve French @ 2026-05-07  3:57 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Namjae Jeon, Stefan (metze) Metzmacher, LKML, CIFS

Please pull the following changes since commit
227c3d546e963874198aafc0cae8c3e8c24ae4ee:

  Merge tag 'v7.1-rc2-ksmbd-server-fixes' of git://git.samba.org/ksmbd
(2026-05-01 12:16:42 -0700)

are available in the Git repository at:

  git://git.samba.org/ksmbd.git tags/v7.1-rc3-ksmbd-server-fixes

for you to fetch changes up to 996454bc0da84d5a1dedb1a7861823087e01a7ae:

  ksmbd: validate inherited ACE SID length (2026-05-01 21:49:35 -0500)

----------------------------------------------------------------
Nine ksmbd server fixes
- Fix memory leak in connection free
- Fix inherited ACL ACE validation
- Minor cleanup
- Fix for share config
- Fix durable handle cleanup race
- Fix close_file_table_ids in session teardown
- 3 smbdirect fixes: fix memory region registration, two fix for out
of tree builds

----------------------------------------------------------------
DaeMyung Kang (3):
      ksmbd: centralize ksmbd_conn final release to plug transport leak
      ksmbd: harden file lifetime during session teardown
      ksmbd: close durable scavenger races against m_fp_list lookups

Namjae Jeon (1):
      ksmbd: fix kernel-doc warnings from ksmbd_conn_get/put()

Shota Zaizen (1):
      ksmbd: validate inherited ACE SID length

Shuhao Fu (1):
      ksmbd: fail share config requests when path allocation fails

Stefan Metzmacher (2):
      smb: smbdirect: make use of DEFAULT_SYMBOL_NAMESPACE and EXPORT_SYMBOL_GPL
      smb: smbdirect: introduce and use include/linux/smbdirect.h

Yi Kuo (1):
      smb: smbdirect: fix MR registration for coalesced SG lists

 MAINTAINERS                                        |   1 +
 fs/smb/client/smbdirect.c                          |   3 +-
 fs/smb/client/smbdirect.h                          |   2 +-
 fs/smb/server/connection.c                         | 105 ++++++-
 fs/smb/server/connection.h                         |   6 +
 fs/smb/server/mgmt/share_config.c                  |  12 +-
 fs/smb/server/oplock.c                             |   7 +-
 fs/smb/server/server.c                             |  12 +
 fs/smb/server/smb2pdu.c                            |   6 +-
 fs/smb/server/smbacl.c                             |  66 +++-
 fs/smb/server/transport_rdma.c                     |   3 +-
 fs/smb/server/transport_rdma.h                     |   2 +-
 fs/smb/server/vfs_cache.c                          | 341 +++++++++++++++++----
 fs/smb/server/vfs_cache.h                          |   4 +-
 fs/smb/smbdirect/accept.c                          |   2 +-
 fs/smb/smbdirect/connect.c                         |   4 +-
 fs/smb/smbdirect/connection.c                      |  16 +-
 fs/smb/smbdirect/debug.c                           |   2 +-
 fs/smb/smbdirect/devices.c                         |   2 +-
 fs/smb/smbdirect/internal.h                        |   4 +-
 fs/smb/smbdirect/listen.c                          |   2 +-
 fs/smb/smbdirect/mr.c                              |  27 +-
 fs/smb/smbdirect/rw.c                              |   2 +-
 fs/smb/smbdirect/smbdirect.h                       |  52 ----
 fs/smb/smbdirect/socket.c                          |  20 +-
 .../public.h => include/linux/smbdirect.h          |  52 +++-
 26 files changed, 554 insertions(+), 201 deletions(-)
 delete mode 100644 fs/smb/smbdirect/smbdirect.h
 rename fs/smb/smbdirect/public.h => include/linux/smbdirect.h (76%)

-- 
Thanks,

Steve

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

* Re: [GIT PULL] ksmbd server and smbdirect fixes
  2026-05-07  3:57 [GIT PULL] ksmbd server and smbdirect fixes Steve French
@ 2026-05-07  5:08 ` pr-tracker-bot
  0 siblings, 0 replies; 4+ messages in thread
From: pr-tracker-bot @ 2026-05-07  5:08 UTC (permalink / raw)
  To: Steve French
  Cc: Linus Torvalds, Namjae Jeon, Stefan (metze) Metzmacher, LKML,
	CIFS

The pull request you sent on Wed, 6 May 2026 22:57:54 -0500:

> git://git.samba.org/ksmbd.git tags/v7.1-rc3-ksmbd-server-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8ab992f815d6736b5c7a6f5fd7bfe7bc106bb3dc

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

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

end of thread, other threads:[~2026-05-07  5:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-07  3:57 [GIT PULL] ksmbd server and smbdirect fixes Steve French
2026-05-07  5:08 ` pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2026-02-12  0:31 Steve French
2026-02-12 19:13 ` pr-tracker-bot

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