[GIT PULL] smb3 client fixes

From: Steve French
Date: Fri Apr 04 2025 - 18:11:09 EST


Please pull the following changes since commit
8b175e2e189673643bf5b996335f0430faddf953:

Merge tag '6.15-rc-part1-smb3-client-fixes' of
git://git.samba.org/sfrench/cifs-2.6 (2025-03-31 17:38:34 -0700)

are available in the Git repository at:

git://git.samba.org/sfrench/cifs-2.6.git tags/6.15-rc-part2-smb3-client-fixes

for you to fetch changes up to 827a1bd9af9df6a4023736ff52475b2a5395d91d:

cifs: update internal version number (2025-04-02 20:01:14 -0500)

----------------------------------------------------------------
18 smb3/cifs client fixes
- Four reconnect fixes (three for updating rsize/wsize) and also an
SMB1 reconnect fix
- Three RFC1001 fixes: fixing connections to nonstandard ports, and
negprot retries
- Fix mfsymlinks to old servers
- Make mapping of open flags for SMB1 more accurate
- Three permission fixes: adding retry on open for write, and one for
stat to workaround unexpected access denied
- Add two new xattrs, one for retrieving SACL and one for retrieving
owner (without having to retrieve the whole ACL)
- Fix mount parm validation for echo_interval
- Two minor cleanup (including removing now unneeded cifs_truncate_page)
----------------------------------------------------------------
David Howells (1):
cifs: Remove cifs_truncate_page() as it should be superfluous

Pali Rohár (11):
cifs: Add a new xattr system.smb3_ntsd_sacl for getting or setting SACLs
cifs: Add a new xattr system.smb3_ntsd_owner for getting or setting owner
cifs: Allow to disable or force initialization of NetBIOS session
cifs: Improve handling of NetBIOS packets
cifs: Fix negotiate retry functionality
cifs: Fix access_flags_to_smbopen_mode
cifs: Fix querying and creating MF symlinks over SMB1
cifs: Add fallback for SMB2 CREATE without FILE_READ_ATTRIBUTES
cifs: Improve SMB2+ stat() to work also without FILE_READ_ATTRIBUTES
cifs: Do not add FILE_READ_ATTRIBUTES when using GENERIC_READ/EXECUTE/ALL
cifs: Implement is_network_name_deleted for SMB1

Roman Smirnov (2):
cifs: fix integer overflow in match_server()
cifs: remove unreachable code in cifs_get_tcp_session()

Steve French (1):
cifs: update internal version number

Wang Zhaolong (3):
smb:client: smb: client: Add reverse mapping from tcon to superblocks
smb: client: Store original IO parameters and prevent zero IO sizes
smb: client: Update IO sizes after reconnection

fs/smb/client/cifs_fs_sb.h | 1 +
fs/smb/client/cifsfs.h | 5 +-
fs/smb/client/cifsglob.h | 7 +-
fs/smb/client/cifssmb.c | 32 ++++++--
fs/smb/client/connect.c | 180 ++++++++++++++++++++++++++++++++++++++------
fs/smb/client/fs_context.c | 21 +++++-
fs/smb/client/fs_context.h | 5 ++
fs/smb/client/inode.c | 19 -----
fs/smb/client/link.c | 8 +-
fs/smb/client/misc.c | 2 +
fs/smb/client/smb1ops.c | 57 +++++++++++---
fs/smb/client/smb2file.c | 21 +++++-
fs/smb/client/smb2glob.h | 1 +
fs/smb/client/smb2inode.c | 67 ++++++++++++++++-
fs/smb/client/smb2ops.c | 32 ++++----
fs/smb/client/smb2pdu.c | 24 +++++-
fs/smb/client/transport.c | 3 +
fs/smb/client/xattr.c | 36 +++++++++
fs/smb/common/smb2pdu.h | 3 +
19 files changed, 438 insertions(+), 86 deletions(-)

--
Thanks,

Steve