linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] cifs/smb3 client fixes
@ 2021-11-06 13:49 Steve French
  2021-11-06 23:50 ` pr-tracker-bot
  0 siblings, 1 reply; 17+ messages in thread
From: Steve French @ 2021-11-06 13:49 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
3906fe9bb7f1a2c8667ae54e967dc8690824f4ea:

  Linux 5.15-rc7 (2021-10-25 11:30:31 -0700)

are available in the Git repository at:

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

for you to fetch changes up to d7171cd1acf70eb949ece8ccc95be27b3dfcf4da:

  smb3: add dynamic trace points for socket connection (2021-11-05
16:20:24 -0500)

----------------------------------------------------------------
7 cifs/smb3 fixes:
- a reconnect fix for stable
- a minor mount option fix
- a debugging improvement for (TCP) connection issues
- refactoring of common code to help ksmbd

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/826

There is a larger set of fixes (multichannel and DFS related e.g.)
still being tested/reviewed for later in the merge window
----------------------------------------------------------------
Ronnie Sahlberg (4):
      cifs: Create a new shared file holding smb2 pdu definitions
      cifs: move NEGOTIATE_PROTOCOL definitions out into the common area
      cifs: Move more definitions into the shared area
      cifs: Move SMB2_Create definitions to the shared area

Shyam Prasad N (1):
      cifs: To match file servers, make sure the server hostname matches

Steve French (2):
      cifs: add mount parameter tcpnodelay
      smb3: add dynamic trace points for socket connection

 fs/cifs/cifsfs.c          |   1 -
 fs/cifs/cifsglob.h        |   3 +-
 fs/cifs/connect.c         |  26 +-
 fs/cifs/fs_context.c      |  16 ++
 fs/cifs/fs_context.h      |   2 +
 fs/cifs/misc.c            |   2 +-
 fs/cifs/smb2maperror.c    |  16 +-
 fs/cifs/smb2misc.c        |  47 ++--
 fs/cifs/smb2ops.c         |  73 +++---
 fs/cifs/smb2pdu.c         | 187 +++++++-------
 fs/cifs/smb2pdu.h         | 919
++----------------------------------------------------------------
 fs/cifs/smb2proto.h       |   2 +-
 fs/cifs/smb2transport.c   |  36 +--
 fs/cifs/trace.h           |  71 ++++++
 fs/smbfs_common/smb2pdu.h | 989
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 15 files changed, 1299 insertions(+), 1091 deletions(-)
 create mode 100644 fs/smbfs_common/smb2pdu.h


--
Thanks,

Steve

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [GIT PULL] cifs/smb3 client fixes
@ 2022-02-04  6:08 Steve French
  2022-02-04 17:58 ` pr-tracker-bot
  0 siblings, 1 reply; 17+ messages in thread
From: Steve French @ 2022-02-04  6:08 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

Please pull the following changes since commit
e783362eb54cd99b2cac8b3a9aeac942e6f6ac07:

  Linux 5.17-rc1 (2022-01-23 10:12:53 +0200)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.17-rc3-smb3-client-fixes

for you to fetch changes up to d3b331fb51f326d5b5326010bf2b5841bb86cdc6:

  cifs: fix workstation_name for multiuser mounts (2022-02-03 00:16:37 -0600)

----------------------------------------------------------------
SMB3 client fixes including:
- multiple fscache related fixes, reenabling ability to read/write to
cached files for cifs.ko
  (that was temporarily disabled for cifs.ko a few weeks ago due to
the recent fscache changes)
    - also includes a new fscache helper function ("query_occupancy")
used by above
- fix for multiuser mounts and NTLMSSP auth (workstation name) for stable
- fix locking ordering problem in multichannel code
- trivial malformed comment fix

Unit test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/882

There is an additional DFS reconnection fix, unrelated to this, still
being worked on, that is not included in this P/R
----------------------------------------------------------------
David Howells (5):
      Fix a warning about a malformed kernel doc comment in cifs
      cifs: Transition from ->readpages() to ->readahead()
      netfs, cachefiles: Add a method to query presence of data in the cache
      cifs: Implement cache I/O by accessing the cache directly
      cifs: Fix the readahead conversion to manage the batch when
reading from cache

Rohith Surabattula (1):
      Invalidate fscache cookie only when inode attributes are changed.

Ryan Bair (1):
      cifs: fix workstation_name for multiuser mounts

Shyam Prasad N (1):
      cifs: unlock chan_lock before calling cifs_put_tcp_session

 Documentation/filesystems/netfs_library.rst |  16 ++
 fs/cachefiles/io.c                          |  59 +++++++
 fs/cifs/connect.c                           |  23 ++-
 fs/cifs/file.c                              | 221 ++++++++++-----------------
 fs/cifs/fscache.c                           | 126 ++++++++++++---
 fs/cifs/fscache.h                           |  79 ++++++----
 fs/cifs/inode.c                             |   8 +-
 fs/cifs/sess.c                              |   6 +-
 include/linux/netfs.h                       |   7 +
 9 files changed, 346 insertions(+), 199 deletions(-)


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [GIT PULL] cifs/smb3 client fixes
@ 2021-12-10 20:41 Steve French
  2021-12-11  1:38 ` pr-tracker-bot
  0 siblings, 1 reply; 17+ messages in thread
From: Steve French @ 2021-12-10 20:41 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

Please pull the following changes since commit
0fcfb00b28c0b7884635dacf38e46d60bf3d4eb1:

  Linux 5.16-rc4 (2021-12-05 14:08:22 -0800)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.16-rc4-smb3-fixes

for you to fetch changes up to 9de0737d5ba0425c3154d5d83da12a8fa8595c0f:

  cifs: fix ntlmssp auth when there is no key exchange (2021-12-08
16:48:43 -0600)

----------------------------------------------------------------
two cifs/smb3 fixes:
- one for stable to fix a problem with module unload of the arc4 module
- the other fixes a recently reported NTLMSSP auth problem

There is an additional fscache fix that is still being tested and
reviewed but not included in this P/R

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/851
----------------------------------------------------------------
Paulo Alcantara (1):
      cifs: fix ntlmssp auth when there is no key exchange

Vincent Whitchurch (1):
      cifs: Fix crash on unload of cifs_arc4.ko

 fs/cifs/sess.c              | 54
++++++++++++++++++++++++++++++++++++------------------
 fs/smbfs_common/cifs_arc4.c | 13 -------------
 2 files changed, 36 insertions(+), 31 deletions(-)


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [GIT PULL] cifs/smb3 client fixes
@ 2021-09-24 23:23 Steve French
  2021-09-25 19:06 ` pr-tracker-bot
  0 siblings, 1 reply; 17+ messages in thread
From: Steve French @ 2021-09-24 23:23 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
fdf5078458793fca9e9c0fb5e58a1a970ca0fdef:

  Merge tag '5.15-rc1-smb3' of git://git.samba.org/sfrench/cifs-2.6
(2021-09-20 15:30:29 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.15-rc2-smb3-fixes

for you to fetch changes up to 9ed38fd4a15417cac83967360cf20b853bfab9b6:

  cifs: fix incorrect check for null pointer in header_assemble
(2021-09-23 21:12:53 -0500)

----------------------------------------------------------------
Six small cifs/smb3 fixes, 2 for stable
- important fix for deferred close (found by a git functional test)
related to attribute caching on close.
- four (two cosmetic, two more serious) small fixes for problems
pointed out by smatch via Dan Carpenter
- fix for comment formatting problems pointed out by W=1

regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/805
----------------------------------------------------------------
Dan Carpenter (1):
      cifs: fix a sign extension bug

David Howells (1):
      cifs: Deal with some warnings from W=1

Steve French (4):
      cifs: Clear modified attribute bit from inode flags
      smb3: correct smb3 ACL security descriptor
      smb3: correct server pointer dereferencing check to be more consistent
      cifs: fix incorrect check for null pointer in header_assemble

 fs/cifs/connect.c |  5 +++--
 fs/cifs/file.c    |  4 ++--
 fs/cifs/misc.c    | 17 ++++++++++++++---
 fs/cifs/smb2pdu.c |  4 ++--
 4 files changed, 21 insertions(+), 9 deletions(-)

--
Thanks,

Steve

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [GIT PULL] cifs/smb3 client fixes
@ 2021-09-18 19:54 Steve French
  2021-09-20 23:32 ` pr-tracker-bot
  0 siblings, 1 reply; 17+ messages in thread
From: Steve French @ 2021-09-18 19:54 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f:

  Linux 5.15-rc1 (2021-09-12 16:28:37 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 35866f3f779aef5e7ba84e4d1023fe2e2a0e219e:

  cifs: Not to defer close on file when lock is set (2021-09-17 16:59:41 -0500)

----------------------------------------------------------------
5 cifs/smb3 client fixes:
 - two deferred close fixes (for bugs found with xfstests 478 and 461)
 - a deferred close improvement in rename
- two trivial fixes for incorrect Linux comment formatting of multiple
cifs files (pointed out by automated kernel test robot and checkpatch)

There is one additional deferred close fix and some important
multichannel fixes that are still being reviewed/tested that are not
included in this.
----------------------------------------------------------------
Rohith Surabattula (3):
      cifs: Deferred close performance improvements
      cifs: Fix soft lockup during fsstress
      cifs: Not to defer close on file when lock is set

Steve French (2):
      cifs: remove pathname for file from SPDX header
      cifs: fix incorrect kernel doc comments

 fs/cifs/cache.c                      |  2 +-
 fs/cifs/cifs_debug.c                 |  1 -
 fs/cifs/cifs_fs_sb.h                 |  1 -
 fs/cifs/cifs_ioctl.h                 |  1 -
 fs/cifs/cifs_spnego.c                |  2 +-
 fs/cifs/cifs_spnego.h                |  2 +-
 fs/cifs/cifs_unicode.c               |  1 -
 fs/cifs/cifsacl.c                    |  1 -
 fs/cifs/cifsacl.h                    |  1 -
 fs/cifs/cifsencrypt.c                |  1 -
 fs/cifs/cifsfs.c                     |  1 -
 fs/cifs/cifsfs.h                     |  1 -
 fs/cifs/cifsglob.h                   |  2 +-
 fs/cifs/cifspdu.h                    |  1 -
 fs/cifs/cifsproto.h                  |  4 +++-
 fs/cifs/cifssmb.c                    |  1 -
 fs/cifs/connect.c                    | 13 ++++++++---
 fs/cifs/dir.c                        |  1 -
 fs/cifs/dns_resolve.c                |  1 -
 fs/cifs/dns_resolve.h                |  4 ++--
 fs/cifs/export.c                     |  1 -
 fs/cifs/file.c                       |  3 ++-
 fs/cifs/fscache.c                    |  2 +-
 fs/cifs/fscache.h                    |  2 +-
 fs/cifs/inode.c                      |  7 +++---
 fs/cifs/ioctl.c                      |  3 +--
 fs/cifs/link.c                       |  1 -
 fs/cifs/misc.c                       | 42 +++++++++++++++++++++++++++++++++---
 fs/cifs/netmisc.c                    |  1 -
 fs/cifs/ntlmssp.h                    |  1 -
 fs/cifs/readdir.c                    |  1 -
 fs/cifs/rfc1002pdu.h                 |  1 -
 fs/cifs/sess.c                       |  1 -
 fs/cifs/smb2file.c                   |  1 -
 fs/cifs/smb2glob.h                   |  1 -
 fs/cifs/smb2inode.c                  |  1 -
 fs/cifs/smb2misc.c                   |  1 -
 fs/cifs/smb2pdu.c                    |  1 -
 fs/cifs/smb2pdu.h                    |  1 -
 fs/cifs/smb2proto.h                  |  1 -
 fs/cifs/smb2status.h                 |  1 -
 fs/cifs/smb2transport.c              |  1 -
 fs/cifs/smberr.h                     |  1 -
 fs/cifs/transport.c                  |  1 -
 fs/cifs/winucase.c                   |  1 -
 fs/cifs/xattr.c                      |  1 -
 fs/smbfs_common/smbfsctl.h           |  2 +-
 include/uapi/linux/cifs/cifs_mount.h |  1 -
 48 files changed, 67 insertions(+), 57 deletions(-)
-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [GIT PULL] cifs/smb3 client fixes
@ 2021-08-30  5:48 Steve French
  2021-08-31 16:39 ` Linus Torvalds
  2021-08-31 16:41 ` pr-tracker-bot
  0 siblings, 2 replies; 17+ messages in thread
From: Steve French @ 2021-08-30  5:48 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

Please pull the following changes since commit
e22ce8eb631bdc47a4a4ea7ecf4e4ba499db4f93:

  Linux 5.14-rc7 (2021-08-22 14:24:56 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 3998f0b8bc49ec784990971dc1f16bf367b19078:

  cifs: Do not leak EDEADLK to dgetents64 for
STATUS_USER_SESSION_DELETED (2021-08-25 16:08:38 -0500)

----------------------------------------------------------------
11 cifs/smb3 client fixes:
- mostly restructuring to allow disabling less secure algorithms (this
will allow eventual removing rc4 and md4 from general use in the
kernel)
- 4 fixes, including 2 for stable
- enable r/w support with fscache and cifs.ko

Am working on a larger set of changes (the usual ... multichannel,
auth and signing improvements), but wanted to get these in earlier to
reduce chance of merge conflicts
later in the merge window.
----------------------------------------------------------------
Ding Hui (1):
      cifs: fix wrong release in sess_alloc_buffer() failed path

Len Baker (1):
      CIFS: Fix a potencially linear read overflow

Ronnie Sahlberg (4):
      cifs: remove support for NTLM and weaker authentication algorithms
      cifs: fork arc4 and create a separate module for it for cifs and
other users
      cifs: create a MD4 module and switch cifs.ko to use it
      cifs: Do not leak EDEADLK to dgetents64 for STATUS_USER_SESSION_DELETED

Shyam Prasad N (1):
      cifs: enable fscache usage even for files opened as rw

Steve French (4):
      smb3: fix posix extensions mount option
      oid_registry: Add OIDs for missing Spnego auth mechanisms to Macs
      cifs: cifs_md4 convert to SPDX identifier
      cifs: add cifs_common directory to MAINTAINERS file

 MAINTAINERS                  |   1 +
 fs/Kconfig                   |   7 ++
 fs/Makefile                  |   1 +
 fs/cifs/Kconfig              |  30 -------
 fs/cifs/cifs_debug.c         |  11 ---
 fs/cifs/cifs_swn.c           |   2 -
 fs/cifs/cifs_unicode.c       |   9 +-
 fs/cifs/cifsencrypt.c        |  89 +-------------------
 fs/cifs/cifsfs.c             |   8 --
 fs/cifs/cifsglob.h           |  32 +------
 fs/cifs/cifspdu.h            |  28 -------
 fs/cifs/cifsproto.h          |  10 ---
 fs/cifs/cifssmb.c            | 107 +-----------------------
 fs/cifs/connect.c            |  32 -------
 fs/cifs/file.c               |  15 +++-
 fs/cifs/fs_context.c         |  25 ++----
 fs/cifs/fs_context.h         |   3 -
 fs/cifs/fscache.c            |  41 +++++++--
 fs/cifs/fscache.h            |  23 ++++++
 fs/cifs/inode.c              |   6 ++
 fs/cifs/readdir.c            |  23 +++++-
 fs/cifs/sess.c               | 257
+--------------------------------------------------------
 fs/cifs/smb2maperror.c       |   1 -
 fs/cifs/smbencrypt.c         | 139 +++----------------------------
 fs/cifs_common/Makefile      |   7 ++
 fs/cifs_common/arc4.h        |  23 ++++++
 fs/cifs_common/cifs_arc4.c   |  87 +++++++++++++++++++
 fs/cifs_common/cifs_md4.c    | 197 +++++++++++++++++++++++++++++++++++++++++++
 fs/cifs_common/md4.h         |  27 ++++++
 include/linux/oid_registry.h |   7 ++
 30 files changed, 485 insertions(+), 763 deletions(-)
 create mode 100644 fs/cifs_common/Makefile
 create mode 100644 fs/cifs_common/arc4.h
 create mode 100644 fs/cifs_common/cifs_arc4.c
 create mode 100644 fs/cifs_common/cifs_md4.c
 create mode 100644 fs/cifs_common/md4.h


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-02-04 17:58 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-06 13:49 [GIT PULL] cifs/smb3 client fixes Steve French
2021-11-06 23:50 ` pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2022-02-04  6:08 Steve French
2022-02-04 17:58 ` pr-tracker-bot
2021-12-10 20:41 Steve French
2021-12-11  1:38 ` pr-tracker-bot
2021-09-24 23:23 Steve French
2021-09-25 19:06 ` pr-tracker-bot
2021-09-18 19:54 Steve French
2021-09-20 23:32 ` pr-tracker-bot
2021-08-30  5:48 Steve French
2021-08-31 16:39 ` Linus Torvalds
2021-08-31 17:08   ` Steve French
2021-08-31 17:43     ` Linus Torvalds
2021-08-31 18:06       ` Steve French
2021-09-14 21:21         ` Steve French
2021-08-31 16:41 ` pr-tracker-bot

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).