[GIT PULL] smb3 client fixes

From: Steve French
Date: Thu Jan 23 2025 - 16:23:54 EST


Please pull the following changes since commit
ffd294d346d185b70e28b1a28abe367bbfe53c04:

Linux 6.13 (2025-01-19 15:51:45 -0800)

are available in the Git repository at:

git://git.samba.org/sfrench/cifs-2.6.git tags/v6.14-rc-smb3-client-fixes-part

for you to fetch changes up to 3681c74d342db75b0d641ba60de27bf73e16e66b:

smb: client: handle lack of EA support in smb2_query_path_info()
(2025-01-22 20:13:49 -0600)

----------------------------------------------------------------
twenty three smb3 client fixes, many DFS related
- Fix oops in DebugData when link speed 0
- Two reparse point fixes
- Ten DFS (global namespace) fixes
- Symlink error handling fix
- Two SMB1 fixes
- Four cleanup fixes
- Improved debugging of status codes
- Fix incorrect output of tracepoints for compounding, and add missing
compounding tracepoint

----------------------------------------------------------------
Liang Jie (1):
smb: client: correctly handle ErrorContextData as a flexible array

Pali Rohár (8):
cifs: Use cifs_autodisable_serverino() for disabling
CIFS_MOUNT_SERVER_INUM in readdir.c
cifs: Fix endian types in struct rfc1002_session_packet
cifs: Add missing NT_STATUS_* codes from nterr.h to nterr.c
cifs: Fix printing Status code into dmesg
cifs: Remove declaration of dead CIFSSMBQuerySymLink function
cifs: Do not attempt to call CIFSSMBRenameOpenFile() without
CAP_INFOLEVEL_PASSTHRU
cifs: Do not attempt to call CIFSGetSrvInodeNumber() without
CAP_INFOLEVEL_PASSTHRU
cifs: Remove duplicate struct reparse_symlink_data and
SYMLINK_FLAG_RELATIVE

Paulo Alcantara (12):
smb: client: introduce av_for_each_entry() helper
smb: client: parse av pair type 4 in CHALLENGE_MESSAGE
smb: client: fix DFS mount against old servers with NTLMSSP
smb: client: parse DNS domain name from domain= option
smb: client: provide dns_resolve_{unc,name} helpers
smb: client: optimize referral walk on failed link targets
smb: client: fix return value of parse_dfs_referrals()
smb: client: don't retry DFS targets on server shutdown
smb: client: fix oops due to unset link speed
smb: client: get rid of TCP_Server_Info::refpath_lock
smb: client: don't check for @leaf_fullpath in match_server()
smb: client: handle lack of EA support in smb2_query_path_info()

Ruben Devos (1):
smb: client: fix order of arguments of tracepoints

Steve French (1):
smb3: add missing tracepoint for querying wsl EAs

fs/smb/client/cifsencrypt.c | 162 +++++++++++++++++------------------
fs/smb/client/cifsglob.h | 35 +++++---
fs/smb/client/cifspdu.h | 18 +---
fs/smb/client/cifsproto.h | 5 +-
fs/smb/client/connect.c | 133 +++++++++++------------------
fs/smb/client/dfs.c | 80 ++++++++----------
fs/smb/client/dfs.h | 44 +++++++---
fs/smb/client/dfs_cache.c | 20 ++---
fs/smb/client/dir.c | 6 +-
fs/smb/client/dns_resolve.c | 108 ++++++++++++-----------
fs/smb/client/dns_resolve.h | 23 ++++-
fs/smb/client/fs_context.c | 4 +
fs/smb/client/fs_context.h | 1 +
fs/smb/client/inode.c | 7 ++
fs/smb/client/misc.c | 29 +++----
fs/smb/client/netmisc.c | 4 +-
fs/smb/client/nterr.c | 8 ++
fs/smb/client/readdir.c | 2 +-
fs/smb/client/rfc1002pdu.h | 6 +-
fs/smb/client/smb1ops.c | 6 ++
fs/smb/client/smb2file.c | 4 +-
fs/smb/client/smb2inode.c | 202 +++++++++++++++++++++++++++-----------------
fs/smb/client/smb2ops.c | 9 +-
fs/smb/client/smb2pdu.h | 2 +-
fs/smb/client/trace.h | 1 +
25 files changed, 483 insertions(+), 436 deletions(-)

--
Thanks,

Steve