[GIT PULL] cifs/smb3 fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
Thanks,

Steve



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux