[GIT PULL] SMB3 client fixes
From: Steve French
Date: Sat Jun 25 2022 - 17:39:04 EST
Please pull the following changes since commit
a111daf0c53ae91e71fd2bfe7497862d14132e3e:
Linux 5.19-rc3 (2022-06-19 15:06:47 -0500)
are available in the Git repository at:
git://git.samba.org/sfrench/cifs-2.6.git tags/5.19-rc3-smb3-client-fixes
for you to fetch changes up to af3a6d1018f02c6dc8388f1f3785a559c7ab5961:
cifs: update cifs_ses::ip_addr after failover (2022-06-24 13:34:28 -0500)
----------------------------------------------------------------
7 SMB3 fixes, addressing important multichannel, reconnect issues.
Multichannel mounts when the server network interfaces changed, or
ip addresses changed, uncovered problems, especially in reconnect, but
the patches for this were held up until recently due to some lock conflicts
that are now addressed. Included in this set of fixes:
- 3 fixes relating to multichannel reconnect, dynamically adjusting the list of
server interfaces to avoid problems during reconnect
- a lock conflict fix related to the above
- 2 important fixes for negotiate on secondary channels (null netname can
unintentionally cause multichannel to be disabled to some servers)
- a reconnect fix (reporting incorrect IP address in some cases)
----------------------------------------------------------------
Paulo Alcantara (1):
cifs: update cifs_ses::ip_addr after failover
Shyam Prasad N (5):
smb3: use netname when available on secondary channels
cifs: change iface_list from array to sorted linked list
cifs: during reconnect, update interface if necessary
cifs: periodically query network interfaces from server
cifs: avoid deadlocks while updating iface
Steve French (1):
smb3: fix empty netname context on secondary channels
fs/cifs/cifs_debug.c | 12 ++--
fs/cifs/cifsglob.h | 58 ++++++++++++++++-
fs/cifs/cifsproto.h | 7 +++
fs/cifs/connect.c | 59 ++++++++++++++++--
fs/cifs/misc.c | 9 ++-
fs/cifs/sess.c | 166 +++++++++++++++++++++++++++++++++++++-----------
fs/cifs/smb2ops.c | 173 +++++++++++++++++++++++++++------------------------
fs/cifs/smb2pdu.c | 21 +++++--
8 files changed, 366 insertions(+), 139 deletions(-)
--
Thanks,
Steve