[GIT PULL] ksmbd fixes

From: Steve French
Date: Fri Nov 12 2021 - 11:19:21 EST


Please pull the following changes since commit
b5013d084e03e82ceeab4db8ae8ceeaebe76b0eb:

Merge tag '5.16-rc-part1-smb3-client-fixes' of
git://git.samba.org/sfrench/cifs-2.6 (2021-11-06 16:47:53 -0700)

are available in the Git repository at:

git://git.samba.org/ksmbd.git tags/5.16-rc-ksmbd-fixes

for you to fetch changes up to 26a2787d45c5af8ffe0f986c01c36bc9111aa9be:

ksmbd: Use the SMB3_Create definitions from the shared (2021-11-11
19:22:58 -0600)

----------------------------------------------------------------
15 smb server fixes: 3 for stable
- important fix for validate negotiate
- fix alignment check in packet validation
- cleanup of dead code (like MD4)
- refactoring some protocol headers to use common code in smbfs_common

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/8/builds/93
----------------------------------------------------------------
Christophe JAILLET (1):
ksmbd: Remove redundant 'flush_workqueue()' calls

Marios Makassikis (1):
ksmbd: Fix buffer length check in fsctl_validate_negotiate_info()

Namjae Jeon (6):
ksmbd: don't need 8byte alignment for request length in
ksmbd_check_message
ksmbd: set unique value to volume serial field in FS_VOLUME_INFORMATION
ksmbd: remove md4 leftovers
ksmbd: remove smb2_buf_length in smb2_hdr
ksmbd: remove smb2_buf_length in smb2_transform_hdr
ksmbd: change LeaseKey data type to u8 array

Ralph Boehme (3):
ksmbd: use ksmbd_req_buf_next() in ksmbd_verify_smb_message()
ksmbd: use ksmbd_req_buf_next() in ksmbd_smb2_check_message()
ksmdb: use cmd helper variable in smb2_get_ksmbd_tcon()

Ronnie Sahlberg (4):
ksmbd: switch to use shared definitions where available
ksmbd: use the common definitions for NEGOTIATE_PROTOCOL
ksmbd: Move more definitions into the shared area
ksmbd: Use the SMB3_Create definitions from the shared

fs/ksmbd/Kconfig | 2 +-
fs/ksmbd/auth.c | 11 +-
fs/ksmbd/connection.c | 11 +-
fs/ksmbd/ksmbd_work.c | 1 -
fs/ksmbd/ksmbd_work.h | 4 +-
fs/ksmbd/oplock.c | 48 ++--
fs/ksmbd/oplock.h | 2 -
fs/ksmbd/server.c | 2 +-
fs/ksmbd/smb2misc.c | 16 +-
fs/ksmbd/smb2ops.c | 9 +-
fs/ksmbd/smb2pdu.c | 591 +++++++++++++++++++-------------------
fs/ksmbd/smb2pdu.h | 696 ++-------------------------------------------
fs/ksmbd/smb_common.c | 13 +-
fs/ksmbd/smb_common.h | 55 +---
fs/ksmbd/transport_rdma.c | 3 +-
fs/ksmbd/vfs.c | 8 +-
fs/ksmbd/vfs.h | 39 ---
17 files changed, 372 insertions(+), 1139 deletions(-)

--
Thanks,

Steve