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: CIFS <linux-cifs@vger.kernel.org>
Subject: [GIT PULL] cifs/smb3 fixes
Date: Fri, 23 Oct 2020 00:09:01 -0500	[thread overview]
Message-ID: <CAH2r5mvcYcC19PN4aNXjkDyPsAQ8wgnK-p2ikvhm_zVfTHsF+A@mail.gmail.com> (raw)

Please pull the following changes since commit
57c176074057531b249cf522d90c22313fa74b0b:

  Convert trailing spaces and periods in path components (2020-10-11
23:57:18 -0500)

are available in the Git repository at:

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

for you to fetch changes up to 13909d96c84afd409bf11aa6c8fbcb1efacb12eb:

  SMB3: add support for recognizing WSL reparse tags (2020-10-22 12:17:59 -0500)

----------------------------------------------------------------
30 cifs/smb3 fixes, including five fixes for stable

Other features included:
- add support for recognizing special file types
(char/block/fifo/symlink) for files created by Linux on WSL (a format
we plan to move to as the default for creating special files on Linux,
as it has advantages over the other current option, the SFU format)
in readdir.
- fix double queries to root directory when directory leases not
supported (e.g. Samba)
- fix querying mode bits (modefromsid mount option) for special file types
- stronger encryption (gcm256), disabled by default until tested more broadly
- allows querying owner when server reports "well known SID" on query
dir with SMB3.1.1 POSIX extensions

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

This PR does not include some additional fixes that are still being
tested but should be available soon:
- for querying owner better on stat with SMB3.1.1 posix extensions
- for querying special file types better in getattr
- some additional small gcm 256 (stronger encryption) fixes
- some important multichannel fixes for low crediting scenarios (flow
control issues)
----------------------------------------------------------------
Colin Ian King (1):
      cifs: make const array static, makes object smaller

Dan Carpenter (1):
      cifs: remove bogus debug code

Rohith Surabattula (2):
      Handle STATUS_IO_TIMEOUT gracefully
      SMB3: Resolve data corruption of TCP server info fields

Ronnie Sahlberg (7):
      cifs: return cached_fid from open_shroot
      cifs: compute full_path already in cifs_readdir()
      cifs: handle -EINTR in cifs_setattr
      cifs: add files to host new mount api
      cifs: move security mount options into fs_context.ch
      cifs: move cache mount options to fs_context.ch
      cifs: move smb version mount options into fs_context.c

Samuel Cabrero (1):
      cifs: Print the address and port we are connecting to in
generic_ip_connect()

Shyam Prasad N (1):
      cifs: Return the error from crypt_message when enc/dec key not found.

Stefan Metzmacher (1):
      cifs: map STATUS_ACCOUNT_LOCKED_OUT to -EACCES

Steve French (15):
      smb3: add defines for new crypto algorithms
      update structure definitions from updated protocol documentation
      SMB3.1.1: add defines for new signing negotiate context
      smb3.1.1: add new module load parm require_gcm_256
      smb3.1.1: add new module load parm enable_gcm_256
      smb3.1.1: print warning if server does not support requested
encryption type
      smb3.1.1: rename nonces used for GCM and CCM encryption
      smb3.1.1: set gcm256 when requested
      smb3.1.1: do not fail if no encryption required but server
doesn't support it
      smb3: add dynamic trace point to trace when credits obtained
      SMB3.1.1: Fix ids returned in POSIX query dir
      smb3: fix stat when special device file and mounted with modefromsid
      smb3: do not try to cache root directory if dir leases not supported
      smb3.1.1: fix typo in compression flag
      SMB3: add support for recognizing WSL reparse tags

 fs/cifs/Makefile        |   2 +-
 fs/cifs/asn1.c          |  16 ++--
 fs/cifs/cifsacl.c       |   5 +-
 fs/cifs/cifsfs.c        |   8 ++
 fs/cifs/cifsglob.h      |  16 +---
 fs/cifs/cifsproto.h     |   2 +
 fs/cifs/connect.c       | 264
++++++++---------------------------------------------------------
 fs/cifs/fs_context.c    | 221
++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/cifs/fs_context.h    |  58 +++++++++++++++
 fs/cifs/inode.c         |  13 +++-
 fs/cifs/readdir.c       |  60 ++++++++++-----
 fs/cifs/smb2glob.h      |   1 +
 fs/cifs/smb2inode.c     |  11 +--
 fs/cifs/smb2maperror.c  |   4 +-
 fs/cifs/smb2ops.c       |  83 +++++++++++++++------
 fs/cifs/smb2pdu.c       |  53 ++++++++++---
 fs/cifs/smb2pdu.h       |  90 +++++++++++++++++++---
 fs/cifs/smb2proto.h     |   3 +-
 fs/cifs/smb2transport.c |   8 The following changes since commit
57c176074057531b249cf522d90c22313fa74b0b:

  Convert trailing spaces and periods in path components (2020-10-11
23:57:18 -0500)

are available in the Git repository at:

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

for you to fetch changes up to 13909d96c84afd409bf11aa6c8fbcb1efacb12eb:

  SMB3: add support for recognizing WSL reparse tags (2020-10-22 12:17:59 -0500)

----------------------------------------------------------------
30 cifs/smb3 fixes, including five for stable

----------------------------------------------------------------
Colin Ian King (1):
      cifs: make const array static, makes object smaller

Dan Carpenter (1):
      cifs: remove bogus debug code

Rohith Surabattula (2):
      Handle STATUS_IO_TIMEOUT gracefully
      SMB3: Resolve data corruption of TCP server info fields

Ronnie Sahlberg (7):
      cifs: return cached_fid from open_shroot
      cifs: compute full_path already in cifs_readdir()
      cifs: handle -EINTR in cifs_setattr
      cifs: add files to host new mount api
      cifs: move security mount options into fs_context.ch
      cifs: move cache mount options to fs_context.ch
      cifs: move smb version mount options into fs_context.c

Samuel Cabrero (1):
      cifs: Print the address and port we are connecting to in
generic_ip_connect()

Shyam Prasad N (1):
      cifs: Return the error from crypt_message when enc/dec key not found.

Stefan Metzmacher (1):
      cifs: map STATUS_ACCOUNT_LOCKED_OUT to -EACCES

Steve French (15):
      smb3: add defines for new crypto algorithms
      update structure definitions from updated protocol documentation
      SMB3.1.1: add defines for new signing negotiate context
      smb3.1.1: add new module load parm require_gcm_256
      smb3.1.1: add new module load parm enable_gcm_256
      smb3.1.1: print warning if server does not support requested
encryption type
      smb3.1.1: rename nonces used for GCM and CCM encryption
      smb3.1.1: set gcm256 when requested
      smb3.1.1: do not fail if no encryption required but server
doesn't support it
      smb3: add dynamic trace point to trace when credits obtained
      SMB3.1.1: Fix ids returned in POSIX query dir
      smb3: fix stat when special device file and mounted with modefromsid
      smb3: do not try to cache root directory if dir leases not supported
      smb3.1.1: fix typo in compression flag
      SMB3: add support for recognizing WSL reparse tags

 fs/cifs/Makefile        |   2 +-
 fs/cifs/asn1.c          |  16 ++--
 fs/cifs/cifsacl.c       |   5 +-
 fs/cifs/cifsfs.c        |   8 ++
 fs/cifs/cifsglob.h      |  16 +---
 fs/cifs/cifsproto.h     |   2 +
 fs/cifs/connect.c       | 264
++++++++---------------------------------------------------------
 fs/cifs/fs_context.c    | 221
++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/cifs/fs_context.h    |  58 +++++++++++++++
 fs/cifs/inode.c         |  13 +++-
 fs/cifs/readdir.c       |  60 ++++++++++-----
 fs/cifs/smb2glob.h      |   1 +
 fs/cifs/smb2inode.c     |  11 +--
 fs/cifs/smb2maperror.c  |   4 +-
 fs/cifs/smb2ops.c       |  83 +++++++++++++++------
 fs/cifs/smb2pdu.c       |  53 ++++++++++---
 fs/cifs/smb2pdu.h       |  90 +++++++++++++++++++---
 fs/cifs/smb2proto.h     |   3 +-
 fs/cifs/smb2transport.c |   8 +-
 fs/cifs/trace.h         |  18 +++--
 fs/cifs/transport.c     |   5 +-
 21 files changed, 600 insertions(+), 341 deletions(-)
 create mode 100644 fs/cifs/fs_context.c
 create mode 100644 fs/cifs/fs_context.h+-
 fs/cifs/trace.h         |  18 +++--
 fs/cifs/transport.c     |   5 +-
 21 files changed, 600 insertions(+), 341 deletions(-)
 create mode 100644 fs/cifs/fs_context.c
 create mode 100644 fs/cifs/fs_context.h

-- 
Thanks,

Steve

             reply	other threads:[~2020-10-23  5:09 UTC|newest]

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

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=CAH2r5mvcYcC19PN4aNXjkDyPsAQ8wgnK-p2ikvhm_zVfTHsF+A@mail.gmail.com \
    --to=smfrench@gmail.com \
    --cc=linux-cifs@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).