[GIT PULL] ksmbd fixes

From: Steve French
Date: Thu Sep 09 2021 - 17:59:26 EST


Please pull the following changes since commit
9c849ce86e0fa93a218614eac562ace44053d7ce:

Merge tag '5.15-rc-smb3-fixes-part1' of
git://git.samba.org/sfrench/cifs-2.6 (2021-08-31 09:22:37 -0700)

are available in the Git repository at:

git://git.samba.org/ksmbd.git tags/5.15-rc-ksmbd-part2

for you to fetch changes up to 4cf0ccd033d9cedef870eb8598a55851e680a173:

ksmbd: fix control flow issues in sid_to_id() (2021-09-08 17:16:13 -0500)

----------------------------------------------------------------
18 ksmbd fixes including:
- various fixes pointed out by coverity, and a minor cleanup patch
- id mapping and ownership fixes
- an smbdirect fix

----------------------------------------------------------------
Christian Brauner (11):
ksmbd: fix lookup on idmapped mounts
ksmbd: fix translation in smb2_populate_readdir_entry()
ksmbd: fix translation in create_posix_rsp_buf()
ksmbd: fix translation in ksmbd_acls_fattr()
ksmbd: fix translation in acl entries
ksmbd: fix subauth 0 handling in sid_to_id()
ksmbd: fix translation in sid_to_id()
ndr: fix translation in ndr_encode_posix_acl()
ksmbd: ensure error is surfaced in set_file_basic_info()
ksmbd: remove setattr preparations in set_file_basic_info()
ksmbd: defer notify_change() call

Colin Ian King (1):
ksmbd: add missing assignments to ret on ndr_read_int64 read calls

Hyunchul Lee (1):
ksmbd: smbd: fix dma mapping error in smb_direct_post_send_data

Namjae Jeon (4):
ksmbd: remove unused ksmbd_file_table_flush function
ksmbd: add validation for ndr read/write functions
ksmbd: fix read of uninitialized variable ret in set_file_basic_info
ksmbd: fix control flow issues in sid_to_id()

Per Forlin (1):
ksmbd: Reduce error log 'speed is unknown' to debug

fs/ksmbd/ndr.c | 383
++++++++++++++++++++++++++++++++++++--------------
fs/ksmbd/oplock.c | 6 +-
fs/ksmbd/smb2pdu.c | 69 +++++----
fs/ksmbd/smb_common.c | 4 +-
fs/ksmbd/smb_common.h | 1 -
fs/ksmbd/smbacl.c | 79 +++++++----
fs/ksmbd/smbacl.h | 25 ++++
fs/ksmbd/transport_rdma.c | 2 +-
fs/ksmbd/vfs.c | 47 ++++---
fs/ksmbd/vfs.h | 3 +-
fs/ksmbd/vfs_cache.c | 16 ---
fs/ksmbd/vfs_cache.h | 1 -
12 files changed, 413 insertions(+), 223 deletions(-)

--
Thanks,

Steve