linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve French <smfrench@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>, CIFS <linux-cifs@vger.kernel.org>
Subject: [GIT PULL] smb3 client fixes
Date: Fri, 30 Jun 2023 23:20:39 -0500	[thread overview]
Message-ID: <CAH2r5msFa0AjapQV_+bPf+upCNnCxppVgqkcDQP9GTh8o5bgdw@mail.gmail.com> (raw)

Please pull the following changes since commit
45a3e24f65e90a047bef86f927ebdc4c710edaa1:

  Linux 6.4-rc7 (2023-06-18 14:06:27 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/6.5-rc-smb3-client-fixes-part1

for you to fetch changes up to 61986a58bc6abbb1aea26e52bd269f49e5bacf19:

  cifs: new dynamic tracepoint to track ses not found errors
(2023-06-29 09:58:09 -0500)

----------------------------------------------------------------
 20 cifs/smb3 fixes, 8 for stable
- Deferred close fix
- Debugging improvements: display missing mount option, dump rc on
invalidate inode failures, print client_guid in DebugData, log session
id when matching session not found in reconnect, new dynamic
tracepoint for session not found
- Mount fixes including: potential null dereference, and possible
memory leak and path name parsing when double slashes
- Fix potential use after free in compounding
- Two crediting (flow control) fixes: fix for crediting leak (stress
scenario with excess lease credits) and better locking around updating
credits
- Three cleanups from issues pointed out by the kernel test robot
- Session state check improvements (including for potential use after free)
- DFS fixes: Fix for getattr on link when DFS disabled, fix for DFS
mounts to same share with different prefix paths, DFS mount error
checking improvement

This does not include some caching fixes/improvements and reconnect
fixes that are still being reviewed/tested.
----------------------------------------------------------------
Bharath SM (1):
      SMB3: Do not send lease break acknowledgment if all file handles
have been closed

Paulo Alcantara (9):
      smb: client: fix warning in cifs_match_super()
      smb: client: fix warning in cifs_smb3_do_mount()
      smb: client: fix warning in CIFSFindFirst()
      smb: client: fix warning in CIFSFindNext()
      smb: client: fix warning in generic_ip_connect()
      smb: client: fix broken file attrs with nodfs mounts
      smb: client: fix parsing of source mount option
      smb: client: fix shared DFS root mounts with different prefixes
      smb: client: improve DFS mount check

Shyam Prasad N (6):
      cifs: print nosharesock value while dumping mount options
      cifs: prevent use-after-free by freeing the cfile later
      cifs: do all necessary checks for credits within or before locking
      cifs: print client_guid in DebugData
      cifs: log session id when a matching ses is not found
      cifs: new dynamic tracepoint to track ses not found errors

Steve French (2):
      cifs: print more detail when invalidate_inode_mapping fails
      smb3: do not reserve too many oplock credits

Winston Wen (2):
      cifs: fix session state check in reconnect to avoid use-after-free issue
      cifs: fix session state check in smb2_find_smb_ses

 fs/smb/client/cifs_debug.c    |  17 ++++---
 fs/smb/client/cifs_dfs_ref.c  |  20 +++++---
 fs/smb/client/cifsfs.c        |  30 +++++-------
 fs/smb/client/cifsglob.h      |  10 ++--
 fs/smb/client/cifsproto.h     |   4 +-
 fs/smb/client/cifssmb.c       | 211
++++++++++++++++++++++++++++++++++++--------------------------------------------
 fs/smb/client/connect.c       |  92 ++++++++++++++++++++---------------
 fs/smb/client/dfs.c           |  96 ++++++++++--------------------------
 fs/smb/client/dfs.h           |  19 ++++----
 fs/smb/client/dfs_cache.c     |   8 +--
 fs/smb/client/file.c          |  25 +++++-----
 fs/smb/client/fs_context.c    |  59 +++++++++++++++++++----
 fs/smb/client/inode.c         |   4 +-
 fs/smb/client/misc.c          |  55 +++++++++++++++------
 fs/smb/client/smb2inode.c     |   9 ++--
 fs/smb/client/smb2ops.c       |  31 +++++++-----
 fs/smb/client/smb2pdu.c       |   6 +++
 fs/smb/client/smb2transport.c |  12 ++++-
 fs/smb/client/trace.h         |  20 ++++++++
 fs/smb/client/transport.c     |  20 ++++----
 20 files changed, 403 insertions(+), 345 deletions(-)


-- 
Thanks,

Steve

             reply	other threads:[~2023-07-01  4:20 UTC|newest]

Thread overview: 140+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-01  4:20 Steve French [this message]
2023-07-01  5:04 ` [GIT PULL] smb3 client fixes pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2024-04-13  9:18 Steve French
2024-04-13 17:12 ` pr-tracker-bot
2024-04-06  5:08 Steve French
2024-04-06 16:19 ` pr-tracker-bot
2024-03-29 17:05 Steve French
2024-03-29 19:27 ` pr-tracker-bot
2024-02-17  4:28 Steve French
2024-02-17 16:27 ` pr-tracker-bot
2024-02-10  0:33 Steve French
2024-02-10  1:15 ` pr-tracker-bot
2024-02-03 20:47 Steve French
2024-02-04  7:44 ` pr-tracker-bot
2024-01-26 22:25 Steve French
2024-01-27 17:21 ` pr-tracker-bot
2024-01-20 23:30 Steve French
2024-01-21  0:59 ` pr-tracker-bot
2024-01-10 22:26 Steve French
2024-01-11  2:24 ` pr-tracker-bot
2023-12-21  4:08 Steve French
2023-12-21  5:22 ` pr-tracker-bot
2023-12-08 22:26 Steve French
2023-12-09 20:34 ` pr-tracker-bot
2023-12-01 23:59 Steve French
2023-12-03  1:24 ` pr-tracker-bot
2023-11-18  0:37 Steve French
2023-11-18 19:44 ` pr-tracker-bot
2023-11-11 22:21 Steve French
2023-11-12  1:30 ` pr-tracker-bot
2023-10-15  2:15 Steve French
2023-10-15  2:47 ` pr-tracker-bot
2023-10-06 21:44 Steve French
2023-10-07 18:12 ` pr-tracker-bot
2023-09-23 17:28 Steve French
2023-09-23 19:08 ` pr-tracker-bot
2023-09-17  5:42 Steve French
2023-09-17 18:24 ` pr-tracker-bot
2023-09-10  1:36 Steve French
2023-09-10  3:17 ` pr-tracker-bot
2023-08-30 20:48 Steve French
2023-08-31  4:21 ` Linus Torvalds
2023-08-31  4:37   ` Steve French
2023-08-31 10:30   ` Dr. David Alan Gilbert
2023-08-31  4:30 ` pr-tracker-bot
2023-08-15 19:59 [GIT PULL] SMB3 " Steve French
2023-08-15 20:04 ` pr-tracker-bot
2023-07-29 19:07 [GIT PULL] smb3 " Steve French
2023-07-30  3:53 ` pr-tracker-bot
2023-07-16 14:59 Steve French
2023-07-16 19:58 ` pr-tracker-bot
2023-07-09  4:39 Steve French
2023-07-09 17:46 ` pr-tracker-bot
2023-06-15  4:36 Steve French
2023-06-15 23:10 ` pr-tracker-bot
2023-05-21  4:52 Steve French
2023-05-21 18:09 ` pr-tracker-bot
2023-05-12 19:21 Steve French
2023-05-12 22:14 ` pr-tracker-bot
2023-05-06 20:45 Steve French
2023-05-07 18:12 ` pr-tracker-bot
2023-04-30 15:35 Steve French
2023-05-01 19:26 ` pr-tracker-bot
2023-04-22  2:43 Steve French
2023-04-22 16:47 ` pr-tracker-bot
2023-04-08 23:34 Steve French
2023-04-09  2:16 ` pr-tracker-bot
2023-04-01 21:32 Steve French
2023-04-02 18:02 ` pr-tracker-bot
2023-03-16 20:39 Steve French
2023-03-16 22:12 ` pr-tracker-bot
2023-03-03 23:29 Steve French
2023-03-04  0:39 ` pr-tracker-bot
2023-02-23  0:02 Steve French
2023-02-23  1:23 ` pr-tracker-bot
2023-01-20 21:23 Steve French
2023-01-20 22:38 ` pr-tracker-bot
2023-01-14  1:19 Steve French
2023-01-14 14:17 ` pr-tracker-bot
2022-12-20 21:49 Steve French
2022-12-21 18:50 ` pr-tracker-bot
2022-12-15 22:40 Steve French
2022-12-15 22:59 ` pr-tracker-bot
2022-11-27  4:44 [GIT PULL] SMB3 " Steve French
2022-11-27 17:14 ` pr-tracker-bot
2022-11-19  5:02 [GIT PULL] smb3 " Steve French
2022-11-19 17:14 ` pr-tracker-bot
2022-11-06  5:07 Steve French
2022-11-06 18:49 ` pr-tracker-bot
2022-10-30  2:40 Steve French
2022-10-30 18:34 ` pr-tracker-bot
2022-10-21 14:40 Steve French
2022-10-21 23:03 ` pr-tracker-bot
2022-10-16  0:33 Steve French
2022-10-16 18:18 ` pr-tracker-bot
2022-10-09  5:50 Steve French
2022-10-11  3:43 ` pr-tracker-bot
2022-09-16  5:25 Steve French
2022-09-16 14:21 ` pr-tracker-bot
2022-09-02  0:44 Steve French
2022-09-02 23:48 ` pr-tracker-bot
2022-08-27 21:43 Steve French
2022-08-28 18:18 ` pr-tracker-bot
2022-08-20 22:34 Steve French
2022-08-21 18:42 ` pr-tracker-bot
2022-08-13 21:44 Steve French
2022-08-14  0:39 ` pr-tracker-bot
2022-08-07  5:03 Steve French
2022-08-07 17:57 ` pr-tracker-bot
2022-07-14 18:41 Steve French
2022-07-14 20:42 ` pr-tracker-bot
2022-07-14  3:35 Steve French
2022-07-14 18:33 ` Linus Torvalds
2022-06-25 21:38 [GIT PULL] SMB3 " Steve French
2022-06-26 17:36 ` pr-tracker-bot
2022-06-18 22:38 Steve French
2022-06-19  3:02 ` pr-tracker-bot
2022-06-11 16:38 [GIT PULL] smb3 " Steve French
2022-06-12 18:40 ` pr-tracker-bot
2022-06-04 23:00 [GIT PULL] SMB3 " Steve French
2022-06-05  2:13 ` pr-tracker-bot
2022-05-27  6:52 Steve French
2022-05-27 16:31 ` Steve French
2022-04-22 17:00 [GIT PULL] smb3 " Steve French
2022-04-22 20:46 ` pr-tracker-bot
2022-04-14 20:42 Steve French
2022-04-14 23:25 ` pr-tracker-bot
2022-02-18  0:26 Steve French
2022-02-18 17:39 ` pr-tracker-bot
2022-02-12 20:20 Steve French
2022-02-13 18:04 ` pr-tracker-bot
2021-12-19  1:36 Steve French
2021-12-19 20:34 ` pr-tracker-bot
2021-12-04 20:41 Steve French
2021-12-04 21:50 ` pr-tracker-bot
2021-11-13 20:17 Steve French
2021-11-13 20:30 ` pr-tracker-bot
2021-09-11 17:23 Steve French
2021-09-12 17:11 ` Linus Torvalds
2021-09-12 18:41 ` pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH2r5msFa0AjapQV_+bPf+upCNnCxppVgqkcDQP9GTh8o5bgdw@mail.gmail.com \
    --to=smfrench@gmail.com \
    --cc=linux-cifs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).