[GIT PULL] CIFS/SMB3 Fixes
From: Steve French
Date: Wed Nov 27 2019 - 18:49:46 EST
Please pull the following changes since commit
219d54332a09e8d8741c1e1982f5eae56099de85:
Linux 5.4 (2019-11-24 16:32:01 -0800)
are available in the Git repository at:
git://git.samba.org/sfrench/cifs-2.6.git tags/5.5-rc-smb3-fixes
for you to fetch changes up to 68464b88cc0a735eaacd2c69beffb85d36f25292:
CIFS: fix a white space issue in cifs_get_inode_info() (2019-11-27
11:31:49 -0600)
----------------------------------------------------------------
Various smb3 fixes (including 12 for stable) and also features
(addition of multichannel support). This includes the first set of
CIFS/SMB3 changes for 5.5.
Buildbot automated regression testing results (passed):
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/286
There are additional fixes for DFS (global name space) support and
some multichannel enhancements and POSIX fixes that are still being
tested and are not included in
this pull request.
----------------------------------------------------------------
Aurelien Aptel (8):
cifs: sort interface list by speed
cifs: add multichannel mount options and data structs
cifs: add server param
cifs: switch servers depending on binding state
CIFS: refactor cifs_get_inode_info()
cifs: try opening channels after mounting
cifs: try harder to open new channels
cifs: dump channel info in DebugData
Dan Carpenter (1):
cifs: rename a variable in SendReceive()
Dan Carpenter via samba-technical (1):
CIFS: fix a white space issue in cifs_get_inode_info()
Long Li (7):
cifs: Don't display RDMA transport on reconnect
cifs: smbd: Invalidate and deregister memory registration on
re-send for direct I/O
cifs: smbd: Return -EINVAL when the number of iovs exceeds
SMBDIRECT_MAX_SGE
cifs: smbd: Add messages on RDMA session destroy and reconnection
cifs: smbd: Return -ECONNABORTED when trasnport is not in connected state
cifs: smbd: Only queue work for error recovery on memory registration
cifs: smbd: Return -EAGAIN when transport is reconnecting
Markus Elfring (3):
CIFS: Use memdup_user() rather than duplicating its implementation
CIFS: Use common error handling code in smb2_ioctl_query_info()
CIFS: Return directly after a failed build_path_from_dentry() in
cifs_do_create()
Paulo Alcantara (SUSE) (5):
cifs: Fix use-after-free bug in cifs_reconnect()
cifs: Fix lookup of root ses in DFS referral cache
cifs: Fix potential softlockups while refreshing DFS cache
cifs: Fix retrieval of DFS referrals in cifs_mount()
cifs: Always update signing key of first channel
Pavel Shilovsky (6):
CIFS: Respect O_SYNC and O_DIRECT flags during reconnect
CIFS: Close open handle after interrupted close
CIFS: Fix NULL pointer dereference in mid callback
CIFS: Do not miss cancelled OPEN responses
CIFS: Fix SMB2 oplock break processing
CIFS: Properly process SMB3 lease breaks
Ronnie Sahlberg (4):
cifs: close the shared root handle on tree disconnect
smb3: add debug messages for closing unmatched open
cifs: don't use 'pre:' for MODULE_SOFTDEP
cifs: move cifsFileInfo_put logic into a work-queue
Steve French (4):
cifs: add support for flock
smb3: remove confusing dmesg when mounting with encryption ("seal")
smb3: dump in_send and num_waiters stats counters by default
cifs: update internal module version number
YueHaibing (2):
cifs: remove unused variable 'sid_user'
CIFS: remove set but not used variables 'cinode' and 'netfid'
fs/cifs/cifs_debug.c | 43 +++++++++-
fs/cifs/cifs_spnego.c | 2 +-
fs/cifs/cifsacl.c | 2 -
fs/cifs/cifsfs.c | 44 ++++++++---
fs/cifs/cifsfs.h | 3 +-
fs/cifs/cifsglob.h | 90 +++++++++++++++------
fs/cifs/cifsproto.h | 8 ++
fs/cifs/connect.c | 191 +++++++++++++++++++++++++++++++++-----------
fs/cifs/dfs_cache.c | 3 +-
fs/cifs/dir.c | 6 +-
fs/cifs/file.c | 159 +++++++++++++++++++++++++++++--------
fs/cifs/inode.c | 333
++++++++++++++++++++++++++++++++++++++++++++++-------------------------------
fs/cifs/misc.c | 17 +---
fs/cifs/sess.c | 230
++++++++++++++++++++++++++++++++++++++++++++++++++++-
fs/cifs/smb1ops.c | 8 +-
fs/cifs/smb2misc.c | 175 ++++++++++++++++++++++++----------------
fs/cifs/smb2ops.c | 141 +++++++++++++++++++--------------
fs/cifs/smb2pdu.c | 168 ++++++++++++++++++++++++++-------------
fs/cifs/smb2pdu.h | 2 +-
fs/cifs/smb2proto.h | 6 +-
fs/cifs/smb2transport.c | 165 +++++++++++++++++++++++++++++---------
fs/cifs/smbdirect.c | 36 +++++----
fs/cifs/transport.c | 37 +++++++--
23 files changed, 1340 insertions(+), 529 deletions(-)
--
Thanks,
Steve