Re: [GIT PULL] SMB3 Fixes

2021-04-08 Thread pr-tracker-bot
The pull request you sent on Thu, 8 Apr 2021 20:48:16 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.12-rc6-smb3

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/17e7124aad766b3f158943acb51467f86220afe9

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] SMB3 Fixes

2021-04-08 Thread Steve French
Please pull the following changes since commit
e49d033bddf5b565044e2abe4241353959bc9120:

  Linux 5.12-rc6 (2021-04-04 14:15:36 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.12-rc6-smb3

for you to fetch changes up to 0fc9322ab5e1fe6910c9673e1a7ff29f7dd72611:

  cifs: escape spaces in share names (2021-04-07 21:30:27 -0500)


3 cifs/smb3 fixes, 2 for stable, includes a reconnect fix (for case
when server address changed) and fix for proper display of devnames
(when have space or tab).

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

Maciek Borzecki (1):
  cifs: escape spaces in share names

Shyam Prasad N (1):
  cifs: On cifs_reconnect, resolve the hostname again.

Wan Jiabing (1):
  fs: cifs: Remove unnecessary struct declaration

 fs/cifs/Kconfig|  3 +--
 fs/cifs/Makefile   |  5 +++--
 fs/cifs/cifsfs.c   |  3 ++-
 fs/cifs/cifsglob.h |  2 --
 fs/cifs/connect.c  | 17 -
 5 files changed, 22 insertions(+), 8 deletions(-)

-- 
Thanks,

Steve


Re: [GIT PULL] SMB3 Fixes

2021-01-24 Thread pr-tracker-bot
The pull request you sent on Sat, 23 Jan 2021 22:44:04 -0600:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.11-rc4-smb3

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4dcd3bcc2063ad7bda2e84bd417f2f536e4c14ef

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] SMB3 Fixes

2021-01-23 Thread Steve French
Please pull the following changes since commit
19c329f6808995b142b3966301f217c831e7cf31:

  Linux 5.11-rc4 (2021-01-17 16:37:05 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 214a5ea081e77346e4963dd6d20c5539ff8b6ae6:

  cifs: do not fail __smb_send_rqst if non-fatal signals are pending
(2021-01-23 01:28:20 -0600)


an important signal handling patch for stable, and two small cleanup patches

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

Jiapeng Zhong (2):
  fs/cifs: Assign boolean values to a bool variable
  fs/cifs: Simplify bool comparison.

Ronnie Sahlberg (1):
  cifs: do not fail __smb_send_rqst if non-fatal signals are pending

 fs/cifs/connect.c   | 4 ++--
 fs/cifs/transport.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
Thanks,

Steve


Re: [GIT PULL] SMB3 Fixes

2020-12-05 Thread pr-tracker-bot
The pull request you sent on Fri, 4 Dec 2020 19:23:07 -0600:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.10-rc6-smb3-fixes-part2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d4e904198c5b46c140fdd04492df6ec31f1f03a5

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] SMB3 Fixes

2020-12-04 Thread Steve French
Please pull the following changes since commit
509a15421674b9e1a3e1916939d0d0efd3e578da:

  Merge tag '5.10-rc6-smb3-fixes' of
git://git.samba.org/sfrench/cifs-2.6 (2020-12-01 15:43:53 -0800)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.10-rc6-smb3-fixes-part2

for you to fetch changes up to ea64370bcae126a88cd26a16f1abcc23ab2b9a55:

  cifs: refactor create_sd_buf() and and avoid corrupting the buffer
(2020-12-03 17:12:14 -0600)


Three smb3 fixes (two for stable) addressing
- a null pointer issue in a DFS error path
- a problem with excessive padding when mounted with "idsfromsid"
causing owner fields to get corrupted
- a more recent problem with compounded reparse point query found in
testing to the Linux kernel server

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

Aurelien Aptel (1):
  cifs: add NULL check for ses->tcon_ipc

Namjae Jeon (1):
  smb3: set COMPOUND_FID to FileID field of subsequent compound request

Ronnie Sahlberg (1):
  cifs: refactor create_sd_buf() and and avoid corrupting the buffer

 fs/cifs/connect.c |  3 ++-
 fs/cifs/smb2ops.c |  4 ++--
 fs/cifs/smb2pdu.c | 71 +--
 fs/cifs/smb2pdu.h |  2 --
 4 files changed, 42 insertions(+), 38 deletions(-)

-- 
Thanks,

Steve


Re: [GIT PULL] SMB3 Fixes

2020-12-01 Thread pr-tracker-bot
The pull request you sent on Tue, 1 Dec 2020 16:28:27 -0600:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.10-rc6-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/509a15421674b9e1a3e1916939d0d0efd3e578da

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] SMB3 Fixes

2020-12-01 Thread Steve French
Please pull the following changes since commit
b65054597872ce3aefbc6a666385eabdf9e288da:

  Linux 5.10-rc6 (2020-11-29 15:50:50 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 212253367dc7b49ed3fc194ce71b0992eacaecf2:

  cifs: fix potential use-after-free in cifs_echo_request()
(2020-11-30 15:23:45 -0600)


Two smb3 fixes for stable including a use after free fix, and
one for signal handling in read.

Build verification test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/441

Paulo Alcantara (2):
  cifs: allow syscalls to be restarted in __smb_send_rqst()
  cifs: fix potential use-after-free in cifs_echo_request()

 fs/cifs/connect.c   | 2 ++
 fs/cifs/transport.c | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

--
Thanks,

Steve


Re: [GIT PULL] SMB3 Fixes

2020-11-24 Thread pr-tracker-bot
The pull request you sent on Tue, 24 Nov 2020 16:00:10 -0600:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.10-rc5-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/127c501a03d5db8b833e953728d3bcf53c8832a9

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] SMB3 Fixes

2020-11-24 Thread Steve French
Please pull the following changes since commit
09162bc32c880a791c6c0668ce0745cf7958f576:

  Linux 5.10-rc4 (2020-11-15 16:44:31 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 1254100030b3377e8302f9c75090ab191d73ee7c:

  smb3: Handle error case during offload read path (2020-11-15 23:05:33 -0600)


Four smb3 fixes for stable: one fixes a memleak, the other
three address a problem found with decryption offload that
can cause a use after free.

This PR was delayed due to changes to the cifs/smb3 testing
infrastructure (multiple testing configuration changes and improvements).
There are a few additional cifs/smb3 fixes in progress that can now be finished
and tested that I will send with later PR.

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

Namjae Jeon (1):
  cifs: fix a memleak with modefromsid

Rohith Surabattula (3):
  smb3: Call cifs reconnect from demultiplex thread
  smb3: Avoid Mid pending list corruption
  smb3: Handle error case during offload read path

 fs/cifs/cifsacl.c |  1 +
 fs/cifs/smb2ops.c | 88 +--
 2 files changed, 74 insertions(+), 15 deletions(-)


-- 
Thanks,

Steve


Re: [GIT PULL] SMB3 fixes

2020-08-15 Thread pr-tracker-bot
The pull request you sent on Sat, 15 Aug 2020 00:32:46 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.9-rc-smb3-fixes-part2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/f6513bd39c15af8f8a63b1fbfcb1bf4717241655

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] SMB3 fixes

2020-08-15 Thread Steve French
Please pull the following changes since commit
327a8d76b1ac2037f87bf041f3bc076407284ffc:

  Merge tag '5.9-rc-smb3-fixes-part1' of
git://git.samba.org/sfrench/cifs-2.6 (2020-08-06 19:21:04 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.9-rc-smb3-fixes-part2

for you to fetch changes up to c8c412f976124d85b8ded85c6ac3f760c12b63a3:

  SMB3: Fix mkdir when idsfromsid configured on mount (2020-08-13
19:41:01 -0500)


3 small cifs/smb3 fixes, one for stable fixing a mkdir path when using
idsfromsid mount option

The update for cifs.ko to use the new mount API isn't complete so
isn't included in this set.

Build verification test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/381

Dan Carpenter (1):
  cifs: Fix an error pointer dereference in cifs_mount()

Miaohe Lin (1):
  cifs: Convert to use the fallthrough macro

Steve French (1):
  SMB3: Fix mkdir when idsfromsid configured on mount

 fs/cifs/connect.c   | 1 +
 fs/cifs/smb2inode.c | 1 +
 fs/cifs/smb2pdu.c   | 4 ++--
 3 files changed, 4 insertions(+), 2 deletions(-)

-- 
Thanks,

Steve


Re: [GIT PULL] SMB3 Fixes

2020-07-10 Thread pr-tracker-bot
The pull request you sent on Fri, 10 Jul 2020 19:53:30 -0500:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5ab39e08ff1558ed80d93f5c5217338f19369a40

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] SMB3 Fixes

2020-07-10 Thread Steve French
Please pull the following changes since commit
dcb7fd82c75ee2d6e6f9d8cc71c52519ed52e258:

  Linux 5.8-rc4 (2020-07-05 16:20:22 -0700)

are available in the Git repository at:

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

for you to fetch changes up to a8dab63ea623610bb258d93649e30330dd1b7c8b:

  cifs: update internal module version number (2020-07-09 10:07:09 -0500)


4 cifs/smb3 fixes: the three for stable fix problems found recently
with change notification including a reference count leak

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

Ronnie Sahlberg (1):
  cifs: fix reference leak for tlink

Steve French (3):
  smb3: fix access denied on change notify request to some servers
  smb3: fix unneeded error message on change notify
  cifs: update internal module version number

yangerkun (1):
  cifs: remove the retry in cifs_poxis_lock_set

 fs/cifs/cifsfs.h   |  2 +-
 fs/cifs/file.c | 19 ++-
 fs/cifs/ioctl.c|  9 -
 fs/cifs/smb2misc.c |  8 ++--
 fs/cifs/smb2ops.c  |  2 +-
 5 files changed, 22 insertions(+), 18 deletions(-)

--
Thanks,

Steve


Re: [GIT PULL] SMB3 Fixes

2020-06-27 Thread pr-tracker-bot
The pull request you sent on Sat, 27 Jun 2020 15:11:00 -0500:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/916a3b0fc1206f7e7ae8d00a21a3114b1dc67794

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] SMB3 Fixes

2020-06-27 Thread Steve French
Please pull the following changes since commit
48778464bb7d346b47157d21ffde2af6b2d39110:

  Linux 5.8-rc2 (2020-06-21 15:45:29 -0700)

are available in the Git repository at:

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

for you to fetch changes up to bf1028a41eaf0ce39518cbdda34cdb717f16364a:

  cifs: misc: Use array_size() in if-statement controlling expression
(2020-06-23 19:06:27 -0500)


6 cifs/smb3 fixes, 3 for stable.  Fixes xfstests 451, 313 and 316

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

Gustavo A. R. Silva (1):
  cifs: misc: Use array_size() in if-statement controlling expression

Xiyu Yang (1):
  cifs: Fix cached_fid refcnt leak in open_shroot

Zhang Xiaoxu (4):
  cifs: Fix double add page to memcg when cifs_readpages
  cifs/smb3: Fix data inconsistent when zero file range
  cifs/smb3: Fix data inconsistent when punch hole
  cifs: update ctime and mtime during truncate

 fs/cifs/file.c| 11 +++
 fs/cifs/inode.c   |  9 +
 fs/cifs/misc.c| 16 +++-
 fs/cifs/smb2ops.c | 12 
 4 files changed, 35 insertions(+), 13 deletions(-)


--
Thanks,

Steve


Re: [GIT PULL] SMB3 Fixes

2019-09-29 Thread pr-tracker-bot
The pull request you sent on Sat, 28 Sep 2019 16:36:21 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.4-rc-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7edee5229c8f4e075fe71274620bb11ead885c9b

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] SMB3 Fixes

2019-09-28 Thread Steve French
Please update the following changes since commit
4d6bcba70aeb4a512ead9c9eaf9edc6bbab00b14:

  cifs: update internal module version number (2019-09-16 19:18:39 -0500)

are available in the Git repository at:

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

for you to fetch changes up to a016e2794fc3a245a91946038dd8f34d65e53cc3:

  CIFS: Fix oplock handling for SMB 2.1+ protocols (2019-09-26 16:42:44 -0500)


Fixes from the recent SMB3 Test events and Storage Developer
Conference (held the last two weeks).

9 smb3 patches including an important patch needed for viewing SMB3
encrypted traffic in wireshark for debugging, and 3 patches for stable

Buildbot SMB3 regression tests passed:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/253

Additional fixes from last week to better handle some newly discovered
reparse points, and a fix the create/mkdir path for setting the mode
more atomically (in SMB3 Create security descriptor context), and one
for path name processing are still being tested so are not included in
this PR.


Murphy Zhou (1):
  CIFS: fix max ea value size

Pavel Shilovsky (1):
  CIFS: Fix oplock handling for SMB 2.1+ protocols

Steve French (5):
  smb3: allow decryption keys to be dumped by admin for debugging
  smb3: fix leak in "open on server" perf counter
  smb3: Add missing reparse tags
  smb3: pass mode bits into create calls
  smb3: missing ACL related flags

zhengbin (2):
  fs/cifs/smb2pdu.c: Make SMB2_notify_init static
  fs/cifs/sess.c: Remove set but not used variable 'capabilities'

 fs/cifs/cifs_ioctl.h |  9 +
 fs/cifs/cifsacl.h| 81
-
 fs/cifs/cifsglob.h   |  6 --
 fs/cifs/cifsproto.h  |  3 ++-
 fs/cifs/cifssmb.c|  3 ++-
 fs/cifs/inode.c  |  3 ++-
 fs/cifs/ioctl.c  | 29 +
 fs/cifs/sess.c   |  3 +--
 fs/cifs/smb2inode.c  | 34 +++---
 fs/cifs/smb2ops.c| 10 ++
 fs/cifs/smb2pdu.c| 23 ++-
 fs/cifs/smb2proto.h  |  3 ++-
 fs/cifs/smbfsctl.h   | 11 +++
 fs/cifs/xattr.c  |  2 +-
 14 files changed, 194 insertions(+), 26 deletions(-)


-- 
Thanks,

Steve


Re: [GIT PULL] SMB3 fixes and features

2019-09-19 Thread pr-tracker-bot
The pull request you sent on Thu, 19 Sep 2019 12:07:25 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.4-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7e3d2c8210e67ebff472a0b371bb0efb4236ef52

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] SMB3 fixes and features

2019-09-19 Thread Steve French
Please pull the following changes since commit
4d856f72c10ecb060868ed10ff1b1453943fc6c8:

  Linux 5.3 (2019-09-15 14:19:32 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 4d6bcba70aeb4a512ead9c9eaf9edc6bbab00b14:

  cifs: update internal module version number (2019-09-16 19:18:39 -0500)


Various cifs/smb3 fixes (including for share deleted cases) and
features including improved encrypted read performance, some new
performance related mount options, cifs.ko network boot support
(additional small patch for ipconfig.c sent to Dave Miller which will
allow enabling this) and various debugging improvements

SMB3 "Buildbot" automated regression test run for this set:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/250

Note that since I am at a test event this week with the Samba team,
and at the annual Storage Developer Conference/SMB3 Plugfest test
event next week a higher than usual number of fixes is expected
later next week as other features in progress get additional testing
and review during these two events.


Aurelien Aptel (3):
  cifs: modefromsid: make room for 4 ACE
  cifs: cifsroot: add more err checking
  cifs: modefromsid: write mode ACE first

Colin Ian King (3):
  fs: cifs: cifsssmb: remove redundant assignment to variable ret
  cifs: remove redundant assignment to variable rc
  cifs: fix dereference on ses before it is null checked

Paulo Alcantara (SUSE) (1):
  cifs: Add support for root file systems

Ronnie Sahlberg (8):
  cifs: fix a comment for the timeouts when sending echos
  cifs: prepare SMB2_Flush to be usable in compounds
  cifs: add passthrough for smb2 setinfo
  cifs: create a helper to find a writeable handle by path name
  cifs: use existing handle for compound_op(OP_SET_INFO) when possible
  cifs: add new debugging macro cifs_server_dbg
  cifs: add a debug macro that prints \\server\share for errors
  cifs: add a helper to find an existing readable handle to a file

Steve French (21):
  cifs: get mode bits from special sid on stat
  cifs: allow chmod to set mode bits using special sid
  smb3: add missing flag definitions
  smb3: Incorrect size for netname negotiate context
  smb3: add mount option to allow forced caching of read only share
  smb3: add some more descriptive messages about share when
mounting cache=ro
  smb3: add mount option to allow RW caching of share accessed by
only 1 client
  smb3: log warning if CSC policy conflicts with cache mount option
  smb3: add dynamic tracepoints for flush and close
  smb3: allow skipping signature verification for perf sensitive
configurations
  smb3: fix signing verification of large reads
  smb3: allow parallelizing decryption of reads
  smb3: enable offload of decryption of large reads via mount option
  smb3: only offload decryption of read responses if multiple requests
  smb3: display max smb3 requests in flight at any one time
  smb3: improve handling of share deleted (and share recreated)
  smb3: allow disabling requesting leases
  smb3: fix unmount hang in open_shroot
  smb3: fix potential null dereference in decrypt offload
  smb3: add missing worker function for SMB3 change notify
  cifs: update internal module version number

YueHaibing (1):
  cifs: remove set but not used variables

zhengbin (1):
  cifs: remove unused variable

 Documentation/filesystems/cifs/cifsroot.txt |  97 ++
 fs/cifs/Kconfig |   8 +
 fs/cifs/Makefile|   2 +
 fs/cifs/cifs_debug.c|   2 +
 fs/cifs/cifs_debug.h|  67 +++
 fs/cifs/cifs_fs_sb.h|   2 +
 fs/cifs/cifs_ioctl.h|   1 +
 fs/cifs/cifsacl.c   |  81 ++--
 fs/cifs/cifsacl.h   |   2 +-
 fs/cifs/cifsfs.c|  28 ++-
 fs/cifs/cifsfs.h|   2 +-
 fs/cifs/cifsglob.h  |  19 +-
 fs/cifs/cifsproto.h |   5 +
 fs/cifs/cifsroot.c  |  94 +
 fs/cifs/cifssmb.c   |   2 +-
 fs/cifs/connect.c   | 152 +++
 fs/cifs/dir.c   |   2 +-
 fs/cifs/file.c  |  80 +++-
 fs/cifs/inode.c |  19 +-
 fs/cifs/smb2inode.c | 155 +++
 fs/cifs/smb2maperror.c  |   2 +-
 fs/cifs/smb2ops.c   | 201 ++-
 fs/cifs/smb2pdu.c   | 287 

Re: [GIT PULL] SMB3 Fixes

2019-08-08 Thread pr-tracker-bot
The pull request you sent on Thu, 8 Aug 2019 01:49:01 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.3-rc3-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/518a1c2f091290219783d5624284c140544a261e

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] SMB3 Fixes

2019-08-08 Thread Steve French
Please pull the following changes since commit
e21a712a9685488f5ce80495b37b9fdbe96c230d:

  Linux 5.3-rc3 (2019-08-04 18:40:12 -0700)

are available in the Git repository at:

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

for you to fetch changes up to ee9d66182392695535cc9fccfcb40c16f72de2a9:

  SMB3: Kernel oops mounting a encryptData share with
CONFIG_DEBUG_VIRTUAL (2019-08-05 22:50:38 -0500)


six small SMB3 fixes, two for stable


Pavel Shilovsky (2):
  SMB3: Fix deadlock in validate negotiate hits reconnect
  SMB3: Fix potential memory leak when processing compound chain

Sebastien Tisserant (1):
  SMB3: Kernel oops mounting a encryptData share with CONFIG_DEBUG_VIRTUAL

Steve French (3):
  cifs: fix rmmod regression in cifs.ko caused by force_sig changes
  smb3: send CAP_DFS capability during session setup
  smb3: update TODO list of missing features

 Documentation/filesystems/cifs/TODO | 26 --
 fs/cifs/connect.c   |  1 +
 fs/cifs/smb2ops.c   | 39
++-
 fs/cifs/smb2pdu.c   |  7 ++-
 4 files changed, 49 insertions(+), 24 deletions(-)


-- 
Thanks,

Steve


Re: [GIT PULL] SMB3 Fixes

2019-07-21 Thread pr-tracker-bot
The pull request you sent on Sat, 20 Jul 2019 18:48:45 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.3-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/91962d0f79cb61776bfb97eb5ea912e49e809d6c

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] SMB3 Fixes

2019-07-20 Thread Steve French
Please pull the following changes since commit
ae9b728c8dc0a9939d89f84e8603258ca2a0df22:

  Merge tag '4.3-rc-smb3-fixes' of
git://git.samba.org/sfrench/cifs-2.6 (2019-07-18 11:11:51 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 2a957ace44d4cf0f6194a4209d4fa67ee5461d8f:

  cifs: update internal module number (2019-07-18 18:14:47 -0500)


SMB3 fixes: two fixes for stable, one fix (copy_file_range related)
that had dependency on earlier patch in this merge window and can now
go in, and a perf improvement in SMB3 open


Amir Goldstein (1):
  cifs: copy_file_range needs to strip setuid bits and update timestamps

Aurelien Aptel (1):
  CIFS: fix deadlock in cached root handling

Ronnie Sahlberg (1):
  cifs: flush before set-info if we have writeable handles

Steve French (2):
  smb3: optimize open to not send query file internal info
  cifs: update internal module number

 fs/cifs/cifsfs.c| 11 ---
 fs/cifs/cifsfs.h|  2 +-
 fs/cifs/inode.c | 16 
 fs/cifs/smb2file.c  | 18 --
 fs/cifs/smb2ops.c   | 53 +
 fs/cifs/smb2pdu.c   | 46 +-
 fs/cifs/smb2pdu.h   |  4 +++-
 fs/cifs/smb2proto.h |  7 ---
 8 files changed, 126 insertions(+), 31 deletions(-)


--
Thanks,

Steve


Re: [GIT PULL] SMB3 Fixes

2019-06-21 Thread pr-tracker-bot
The pull request you sent on Thu, 20 Jun 2019 21:02:17 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.2-rc5-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/05512b0f46526c4e248b1da9386d73a84b7d327b

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] SMB3 Fixes

2019-06-20 Thread Steve French
Please pull the following changes since commit
d1fdb6d8f6a4109a4263176c84b899076a5f8008:

  Linux 5.2-rc4 (2019-06-08 20:24:46 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.2-rc5-smb3-fixes

for you to fetch changes up to 61cabc7b0a5cf0d3c532cfa96594c801743fe7f6:

  cifs: fix GlobalMid_Lock bug in cifs_reconnect (2019-06-17 16:27:02 -0500)


four small SMB3 fixes, all for stable


Ronnie Sahlberg (3):
  cifs: fix panic in smb2_reconnect
  cifs: add spinlock for the openFileList to cifsInodeInfo
  cifs: fix GlobalMid_Lock bug in cifs_reconnect

Steve French (1):
  SMB3: retry on STATUS_INSUFFICIENT_RESOURCES instead of failing write

 fs/cifs/cifsfs.c   |  1 +
 fs/cifs/cifsglob.h |  5 +
 fs/cifs/connect.c  |  2 ++
 fs/cifs/file.c |  8 ++--
 fs/cifs/smb2maperror.c |  2 +-
 fs/cifs/smb2pdu.c  | 10 +-
 6 files changed, 24 insertions(+), 4 deletions(-)


-- 
Thanks,

Steve


Re: [GIT PULL] SMB3 Fixes

2019-05-31 Thread pr-tracker-bot
The pull request you sent on Fri, 31 May 2019 12:55:21 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/v5.2-rc2-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/41e7231fab9d76e906b6d8abe09c44c7b9656d33

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] SMB3 Fixes

2019-05-31 Thread Steve French
Please pull the following changes since commit
cd6c84d8f0cdc911df435bb075ba22ce3c605b07:

  Linux 5.2-rc2 (2019-05-26 16:49:19 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 31fad7d41e73731f05b8053d17078638cf850fa6:

  CIFS: cifs_read_allocate_pages: don't iterate through whole page
array on ENOMEM (2019-05-29 14:02:11 -0500)


4 small smb3 fixes, two for stable


Colin Ian King (1):
  cifs: fix memory leak of pneg_inbuf on -EOPNOTSUPP ioctl case

Gen Zhang (1):
  dfs_cache: fix a wrong use of kfree in flush_cache_ent()

Murphy Zhou (1):
  fs/cifs/smb2pdu.c: fix buffer free in SMB2_ioctl_free

Roberto Bergantinos Corpas (1):
  CIFS: cifs_read_allocate_pages: don't iterate through whole page
array on ENOMEM

 fs/cifs/dfs_cache.c | 4 ++--
 fs/cifs/file.c  | 4 +++-
 fs/cifs/smb2pdu.c   | 9 ++---
 3 files changed, 11 insertions(+), 6 deletions(-)


-- 
Thanks,

Steve


Re: [GIT PULL] SMB3 Fixes

2019-05-19 Thread pr-tracker-bot
The pull request you sent on Fri, 17 May 2019 22:37:33 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.2-rc-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d8848eefc1d541dd0e3ae175e09fb5c66f1d4de6

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] SMB3 Fixes

2019-05-17 Thread Steve French
Please pull the following changes since commit
78d9affbb0e79d48fd82b34ef9cd673a7c86d6f2:

  Merge tag '5.2-smb3' of git://git.samba.org/sfrench/cifs-2.6
(2019-05-08 13:06:18 -0700)

are available in the Git repository at:

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

for you to fetch changes up to dece44e381ab4a9fd1021db45ba4472e8c85becb:

  cifs: add support for SEEK_DATA and SEEK_HOLE (2019-05-15 22:27:53 -0500)


Minor cleanup and SMB3 fixes, one for stable, 4 RDMA (smbdirect)
related. Also adds SEEK_HOLE support

Christoph Probst (1):
  cifs: cleanup smb2ops.c and normalize strings

Kovtunenko Oleksandr (1):
  Fixed https://bugzilla.kernel.org/show_bug.cgi?id=202935 allow
write on the same file

Long Li (4):
  cifs:smbd When reconnecting to server, call smbd_destroy() after
all MIDs have been called
  cifs:smbd Use the correct DMA direction when sending data
  cifs: Don't match port on SMBDirect transport
  cifs: Allocate memory for all iovs in smb2_ioctl

Ronnie Sahlberg (2):
  cifs: use the right include for signal_pending()
  cifs: add support for SEEK_DATA and SEEK_HOLE

Steve French (2):
  smb3: display session id in debug data
  smb3: trivial cleanup to smb2ops.c

 fs/cifs/cifs_debug.c |   2 ++
 fs/cifs/cifsfs.c |  14 +++
 fs/cifs/cifsglob.h   |   2 ++
 fs/cifs/connect.c|  41 ++-
 fs/cifs/smb2ops.c| 134
+++-
 fs/cifs/smb2pdu.c|  21 ++--
 fs/cifs/smbdirect.c  |   8 +++---
 fs/cifs/transport.c  |   2 +-
 8 files changed, 173 insertions(+), 51 deletions(-)


--
Thanks,

Steve


Re: [GIT PULL] SMB3 Fixes

2019-04-26 Thread pr-tracker-bot
The pull request you sent on Thu, 25 Apr 2019 19:23:40 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.1-rc6-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/58130235bfcceb9198a3d979c91b04ea383a0fae

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] SMB3 Fixes

2019-04-25 Thread Steve French
Please pull the following changes since commit
ba25b50d582ff6c6021eee80824134aeb9ab8785:

  Merge tag 'drm-fixes-2019-04-24' of
git://anongit.freedesktop.org/drm/drm (2019-04-23 21:08:52 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.1-rc6-smb3-fixes

for you to fetch changes up to 13f5938d8264b5501368523c4513ff26608a33e8:

  cifs: fix page reference leak with readv/writev (2019-04-24 12:33:59 -0500)


three small SMB3 fixes (all for stable as well): 2 leaks and a rename bug


Frank Sorenson (1):
  cifs: do not attempt cifs operation on smb2+ rename error

Jérôme Glisse (1):
  cifs: fix page reference leak with readv/writev

Ronnie Sahlberg (1):
  cifs: fix memory leak in SMB2_read

 fs/cifs/file.c| 15 +--
 fs/cifs/inode.c   |  4 
 fs/cifs/misc.c| 23 ++-
 fs/cifs/smb2pdu.c |  1 +
 4 files changed, 28 insertions(+), 15 deletions(-)


-- 
Thanks,

Steve


Re: [GIT PULL] SMB3 Fixes

2019-04-04 Thread pr-tracker-bot
The pull request you sent on Wed, 3 Apr 2019 13:03:47 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.1-rc3-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/145f47c7381d43c789cbad55d4dbfd28fc6c46a4

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] SMB3 Fixes

2019-04-03 Thread Steve French
Please pull the following changes since commit
5e7a8ca319268a70a6c7c3c1fde5bea38e1e5539:

  Merge branch 'work.aio' of
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (2019-04-01
08:28:36 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 4811e3096daaa56e145a1d2bec45e2e9fe790729:

  cifs: a smb2_validate_and_copy_iov failure does not mean the handle
is invalid. (2019-04-01 14:33:38 -0500)


four smb3 fixes for stable
- fix an open path where we had an unitialized structure
- fix for snapshot (previous version) enumeration
- allow reconnect timeout on handles to be configurable to better
handle network or server crash


Ronnie Sahlberg (2):
  cifs: fix kref underflow in close_shroot()
  cifs: a smb2_validate_and_copy_iov failure does not mean the
handle is invalid.

Steve French (2):
  smb3: Fix enumerating snapshots to Azure
  SMB3: Allow persistent handle timeout to be configurable on mount

 fs/cifs/cifsfs.c|  2 ++
 fs/cifs/cifsglob.h  |  8 
 fs/cifs/connect.c   | 30 +-
 fs/cifs/smb2file.c  |  6 --
 fs/cifs/smb2ops.c   | 68
++--
 fs/cifs/smb2pdu.c   | 49 +
 fs/cifs/smb2proto.h |  5 +++--
 7 files changed, 121 insertions(+), 47 deletions(-)


-- 
Thanks,

Steve


Re: [GIT PULL] SMB3 Fixes

2019-03-24 Thread pr-tracker-bot
The pull request you sent on Sat, 23 Mar 2019 22:22:33 -0500:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/38104c00200898120e12a73db27cea2b7055ea3c

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] SMB3 Fixes

2019-03-23 Thread Steve French
Please pull the following changes since commit
a5ed1e96cafde5ba48638f486bfca0685dc6ddc9:

  Merge tag 'powerpc-5.1-3' of
git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
(2019-03-22 14:15:11 -0700)

are available in the Git repository at:

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

for you to fetch changes up to cf7d624f8dcc9b833a8489208b6ef6dcc5dd308b:

  cifs: update internal module version number (2019-03-22 22:43:04 -0500)


- two fixes for stable for guest mount problems with smb3.1.1
- two fixes for crediting (SMB3 flow control) on resent requests
- a byte range lock leak fix
- two fixes for incorrect rc mappings

Long Li (2):
  CIFS: Fix an issue with re-sending wdata when transport returning -EAGAIN
  CIFS: Fix an issue with re-sending rdata when transport returning -EAGAIN

Paulo Alcantara (SUSE) (1):
  cifs: Fix slab-out-of-bounds when tracing SMB tcon

Ronnie Sahlberg (1):
  cifs: allow guest mounts to work for smb3.11

Steve French (3):
  fix incorrect error code mapping for OBJECTID_NOT_FOUND
  SMB3: Fix SMB3.1.1 guest mounts to Samba
  cifs: update internal module version number

Xiaoli Feng (1):
  cifs: fix that return -EINVAL when do dedupe operation

 fs/cifs/cifsfs.c   |   2 +-
 fs/cifs/cifsfs.h   |   2 +-
 fs/cifs/file.c | 148
+++
 fs/cifs/smb2maperror.c |   3 ++-
 fs/cifs/smb2pdu.c  |  11 +++--
 fs/cifs/trace.h|   6 ++---
 6 files changed, 102 insertions(+), 70 deletions(-)


-- 
Thanks,

Steve


Re: [GIT][PULL] smb3 fixes

2019-03-09 Thread pr-tracker-bot
The pull request you sent on Fri, 8 Mar 2019 10:54:02 -0600:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.1-rc-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e519a8c2c3431fbc27e453ff73f5b51df5afe6b5

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT][PULL] smb3 fixes

2019-03-08 Thread Steve French
Please pull the following changes since commit
1c163f4c7b3f621efff9b28a47abb36f7378d783:

  Linux 5.0 (2019-03-03 15:21:29 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 50cfad780bcf9e03d11aaf0a7296a4c0ed336b54:

  fs: cifs: Kconfig: pedantic formatting (2019-03-06 21:55:12 -0600)


smb3/cifs fixes including for large i/o error cases, fixes for 3
xfstests, improved crediting (smb3 flow control); improved tracing


Enrico Weigelt, metux IT consult (1):
  fs: cifs: Kconfig: pedantic formatting

Louis Taylor (1):
  cifs: use correct format characters

Namjae Jeon (1):
  cifs: Accept validate negotiate if server return NT_STATUS_NOT_SUPPORTED

Pavel Shilovsky (24):
  CIFS: Fix leaking locked VFS cache pages in writeback retry
  CIFS: Do not reset lease state to NONE on lease break
  CIFS: Do not skip SMB2 message IDs on send failures
  CIFS: Always reset read error to -EIO if no response
  CIFS: Do not log credits when unmounting a share
  CIFS: Count SMB3 credits for malformed pending responses
  CIFS: Respect SMB2 hdr preamble size in read responses
  CIFS: Set reconnect instance to one initially
  CIFS: Respect reconnect in MTU credits calculations
  CIFS: Respect reconnect in non-MTU credits calculations
  CIFS: Check for reconnects before sending async requests
  CIFS: Check for reconnects before sending compound requests
  CIFS: Adjust MTU credits before reopening a file
  CIFS: Remove custom credit adjustments for SMB2 async IO
  CIFS: Reopen file before get SMB2 MTU credits for async IO
  CIFS: Find and reopen a file before get MTU credits in writepages
  CIFS: Move unlocking pages from wdata_send_pages()
  CIFS: Move open file handling to writepages
  CIFS: Return error code when getting file handle for writeback
  CIFS: Try to acquire credits at once for compound requests
  CIFS: Fix read after write for files with read caching
  CIFS: Only send SMB2_NEGOTIATE command on new TCP connections
  CIFS: Return -EAGAIN instead of -ENOTSOCK
  CIFS: Mask off signals when sending SMB packets

Ronnie Sahlberg (3):
  cifs: replace snprintf with scnprintf
  cifs: add credits from unmatched responses/messages
  cifs: return -ENODATA when deleting an xattr that does not exist

Steve French (13):
  smb3: fix bytes_read statistics
  smb3: make default i/o size for smb3 mounts larger
  smb3: request more credits on tree connect
  cifs: update internal module version number
  smb3: Update POSIX negotiate context with POSIX ctxt GUID
  smb3: add tracepoints for query dir
  smb3: Add tracepoints for read, write and query_dir enter
  smb3: add missing read completion trace point
  smb3: improve dynamic tracing of open and posix mkdir
  smb3: add dynamic trace point for smb3_cmd_enter
  smb3: add dynamic trace point for query_info_enter/done
  smb3: for kerberos mounts display the credential uid used
  smb3: request more credits on normal (non-large read/write) ops

Yao Liu (1):
  cifs: Fix NULL pointer dereference of devname

 fs/cifs/Kconfig | 120
-
 fs/cifs/cifs_dfs_ref.c  |   4 +-
 fs/cifs/cifs_fs_sb.h|   1 +
 fs/cifs/cifsfs.c|   3 +-
 fs/cifs/cifsfs.h|   2 +-
 fs/cifs/cifsglob.h  |  65 ---
 fs/cifs/cifsproto.h |   8 +++-
 fs/cifs/cifssmb.c   |  54 +-
 fs/cifs/connect.c   |  66 +++-
 fs/cifs/file.c  | 269

 fs/cifs/inode.c |   2 +-
 fs/cifs/link.c  |  14 +++
 fs/cifs/smb1ops.c   |   8 ++--
 fs/cifs/smb2misc.c  |  24 +++-
 fs/cifs/smb2ops.c   | 115
++-
 fs/cifs/smb2pdu.c   | 179
+++--
 fs/cifs/smb2pdu.h   |   4 +-
 fs/cifs/smb2transport.c |  25 +++-
 fs/cifs/smbdirect.c |   6 +--
 fs/cifs/trace.h |  89 ++-
 fs/cifs/transport.c | 208
++-
 21 files changed, 929 insertions(+), 337 deletions(-)


-- 
Thanks,

Steve