[GIT PULL] smb3 client fixes

From: Steve French
Date: Fri Oct 21 2022 - 10:40:45 EST


Please pull the following changes since commit
9abf2313adc1ca1b6180c508c25f22f9395cc780:

Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

git://git.samba.org/sfrench/cifs-2.6.git tags/6.1-rc1-smb3-fixes

for you to fetch changes up to 73b1b8d25e39a1478b3792a7075f43e053ee62c2:

cifs: update internal module number (2022-10-19 17:57:51 -0500)

----------------------------------------------------------------
12 small cifs/smb3 fixes, half for stable
- two memory leak fixes
- two fixes for directory leases, including an important one which
fixes a problem noticed by git functional tests
- five fixes relating to missing free_xid calls (helpful for
tracing/debugging of entry/exit into cifs.ko)
- a multichannel fix
- a small cleanup fix (use of list_move instead of list_del/list_add)
----------------------------------------------------------------
Paulo Alcantara (1):
cifs: fix memory leaks in session setup

Ronnie Sahlberg (2):
cifs: set rc to -ENOENT if we can not get a dentry for the cached dir
cifs: drop the lease for cached directories on rmdir or rename

Steve French (2):
smb3: interface count displayed incorrectly
cifs: update internal module number

Yang Yingliang (1):
cifs: use LIST_HEAD() and list_move() to simplify code

Zhang Xiaoxu (6):
cifs: Fix xid leak in cifs_create()
cifs: Fix xid leak in cifs_copy_file_range()
cifs: Fix xid leak in cifs_flock()
cifs: Fix xid leak in cifs_ses_add_channel()
cifs: Fix xid leak in cifs_get_file_info_unix()
cifs: Fix memory leak when build ntlmssp negotiate blob failed

fs/cifs/cached_dir.c | 39 +++++++++++++++++++++++++++++----------
fs/cifs/cached_dir.h | 4 ++++
fs/cifs/cifsfs.c | 7 +++++--
fs/cifs/cifsfs.h | 4 ++--
fs/cifs/dir.c | 6 ++++--
fs/cifs/file.c | 11 +++++++----
fs/cifs/inode.c | 6 ++++--
fs/cifs/sess.c | 1 +
fs/cifs/smb2inode.c | 2 ++
fs/cifs/smb2ops.c | 3 ++-
fs/cifs/smb2pdu.c | 17 ++++++++---------
11 files changed, 68 insertions(+), 32 deletions(-)


--
Thanks,

Steve