]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge tag 'v6.16-rc-part1-smb-client-fixes' of git://git.samba.org/sfrench/cifs-2.6
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 3 Jun 2025 23:04:29 +0000 (16:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 3 Jun 2025 23:04:29 +0000 (16:04 -0700)
Pull smb client updates from Steve French:

 - multichannel fixes (mostly reconnect related), and clarification of
   locking documentation

 - automount null pointer check fix

 - fixes to add support for ParentLeaseKey

 - minor cleanup

 - smb1/cifs fixes

* tag 'v6.16-rc-part1-smb-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
  cifs: update the lock ordering comments with new mutex
  cifs: dns resolution is needed only for primary channel
  cifs: update dstaddr whenever channel iface is updated
  cifs: reset connections for all channels when reconnect requested
  smb: client: use ParentLeaseKey in cifs_do_create
  smb: client: use ParentLeaseKey in open_cached_dir
  smb: client: add ParentLeaseKey support
  cifs: Fix cifs_query_path_info() for Windows NT servers
  cifs: Fix validation of SMB1 query reparse point response
  cifs: Correctly set SMB1 SessionKey field in Session Setup Request
  cifs: Fix encoding of SMB1 Session Setup NTLMSSP Request in non-UNICODE mode
  smb: client: add NULL check in automount_fullpath
  smb: client: Remove an unused function and variable

1  2 
fs/smb/client/cached_dir.c
fs/smb/client/cifsfs.c
fs/smb/client/cifssmb.c
fs/smb/client/namespace.c
fs/smb/client/smb2pdu.c

index 89d2dbbb742c9a24fa63b437fa55483e4c6594ec,7482b7caa575e47d87503246c0a74d59f230a37f..5200a0f3cafc6fd1ef8959859384dfedbbeb2172
@@@ -201,8 -201,10 +202,10 @@@ replay_again
        }
        spin_unlock(&cfids->cfid_list_lock);
  
+       pfid = &cfid->fid;
        /*
 -       * Skip any prefix paths in @path as lookup_positive_unlocked() ends up
 +       * Skip any prefix paths in @path as lookup_noperm_positive_unlocked() ends up
         * calling ->lookup() which already adds those through
         * build_path_from_dentry().  Also, do it earlier as we might reconnect
         * below when trying to send compounded request and then potentially
Simple merge
Simple merge
Simple merge
Simple merge