[GIT PULL] ksmbd server fixes
From: Steve French
Date: Fri Dec 26 2025 - 08:38:17 EST
Please pull the following changes since commit
9448598b22c50c8a5bb77a9103e2d49f134c9578:
Linux 6.19-rc2 (2025-12-21 15:52:04 -0800)
are available in the Git repository at:
git://git.samba.org/ksmbd.git tags/v6.19-rc2-smb3-server-fixes
for you to fetch changes up to 4c7d8eb9a79ae5400eac19c4f6f0815bff674452:
smb/server: fix minimum SMB2 PDU size (2025-12-21 19:20:46 -0600)
----------------------------------------------------------------
Four smb3 server fixes:
- Fix parsing of SMB1 negotiate request by adjusting offsets
affected by the removal of the RFC1002 length field from the SMB
header.
- Update minimum PDU size macros for both SMB1 and SMB2.
- Rename smb2_get_msg function to smb_get_msg to better reflect
its role in handling both SMB1 and SMB2 requests.
----------------------------------------------------------------
ChenXiaoSong (2):
smb/server: fix minimum SMB1 PDU size
smb/server: fix minimum SMB2 PDU size
David Howells (1):
ksmbd: Fix to handle removal of rfc1002 header from smb_hdr
Namjae Jeon (1):
ksmbd: rename smb2_get_msg to smb_get_msg
fs/smb/server/auth.c | 4 +--
fs/smb/server/connection.c | 11 +++---
fs/smb/server/oplock.c | 8 ++---
fs/smb/server/server.c | 2 +-
fs/smb/server/smb2pdu.c | 70 +++++++++++++++++++--------------------
fs/smb/server/smb2pdu.h | 9 -----
fs/smb/server/smb_common.c | 26 +++++++--------
fs/smb/server/smb_common.h | 9 +++++
8 files changed, 70 insertions(+), 69 deletions(-)
--
Thanks,
Steve