linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] SMB3 Fixes
@ 2021-05-21 16:20 Steve French
  2021-05-21 23:31 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2021-05-21 16:20 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

Please pull the following changes since commit
d07f6ca923ea0927a1024dfccafc5b53b61cfecc:

  Linux 5.13-rc2 (2021-05-16 15:27:44 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 9687c85dfbf84a6a37522626b4d5c5191a695e6c:

  Fix KASAN identified use-after-free issue. (2021-05-20 12:20:42 -0500)

----------------------------------------------------------------
7 SMB3 fixes:
- one for stable (for copychunk)
- three others fix problems found in testing handle leases
- a fix for SMB3 compounding found during review and testing to the
kernel server
- two trivial cleanups

A few additional important patches are still in testing and are
not included in this pull request (e.g. a fix for some problems with variable
length strings in dynamic tracing, a problem with getting newer types of
decryption and session keys needed for debugging, a problem that was pointed
out at the recent test event, and some multichannel related reconnect fixes)
----------------------------------------------------------------
Jiapeng Chong (1):
      cifs: Fix inconsistent indenting

Rohith Surabattula (3):
      Fix kernel oops when CONFIG_DEBUG_ATOMIC_SLEEP is enabled.
      Defer close only when lease is enabled.
      Fix KASAN identified use-after-free issue.

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

Steve French (1):
      SMB3: incorrect file id in requests compounded with open

wenhuizhang (1):
      cifs: remove deadstore in cifs_close_all_deferred_files()

 fs/cifs/cifsfs.c     |  2 +-
 fs/cifs/cifsglob.h   |  4 ++--
 fs/cifs/file.c       | 46 +++++++++++++++++++++++++---------------------
 fs/cifs/fs_context.c |  2 +-
 fs/cifs/misc.c       | 23 +++++++++++++++++++----
 fs/cifs/smb2ops.c    |  4 ++++
 fs/cifs/smb2pdu.c    |  6 +++---
 7 files changed, 55 insertions(+), 32 deletions(-)


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] smb3 fixes
@ 2022-01-22  5:51 Steve French
  2022-01-22  9:40 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2022-01-22  5:51 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

Please pull the following changes since commit
0c947b893d69231a9add855939da7c66237ab44f:

  Merge tag '5.17-rc-part1-smb3-fixes' of
git://git.samba.org/sfrench/cifs-2.6 (2022-01-17 09:53:21 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 51620150ca2df62f8ea472ab8962be590c957288:

  cifs: update internal module number (2022-01-19 23:14:34 -0600)

----------------------------------------------------------------
18 cifs/smb3 fixes including:
- 9 multichannel fixes, addressing additional reconnect and DFS scenarios
- reenabling fscache support (indexing rewrite, metadata caching e.g.)
- send additional version information during NTLMSSP negotiate to
improve debugging
- fix for a mount race
- 2 DFS fixes
- fix for a memory leak for stable
----------------------------------------------------------------
David Howells (1):
      cifs: Support fscache indexing rewrite

Eugene Korenevsky (2):
      cifs: alloc_path_with_tree_prefix: do not append sep. if the path is empty
      cifs: quirk for STATUS_OBJECT_NAME_INVALID returned for non-ASCII dfs refs

Muhammad Usama Anjum (1):
      cifs: remove unused variable ses_selected

Ronnie Sahlberg (1):
      cifs: serialize all mount attempts

Shyam Prasad N (9):
      cifs: free ntlmsspblob allocated in negotiate
      cifs: check reconnects for channels of active tcons too
      cifs: fix the connection state transitions with multichannel
      cifs: protect all accesses to chan_* with chan_lock
      cifs: fix the cifs_reconnect path for DFS
      cifs: remove repeated state change in dfs tree connect
      cifs: make status checks in version independent callers
      cifs: update tcpStatus during negotiate and sess setup
      cifs: cifs_ses_mark_for_reconnect should also update reconnect bits

Steve French (3):
      smb3: add new defines from protocol specification
      smb3: send NTLMSSP version information
      cifs: update internal module number

Yang Li (1):
      cifs: clean up an inconsistent indenting

 fs/cifs/Kconfig            |   2 +-
 fs/cifs/Makefile           |   2 +-
 fs/cifs/cache.c            | 105 ---------------------
 fs/cifs/cifs_swn.c         |   9 +-
 fs/cifs/cifsfs.c           |  19 ++--
 fs/cifs/cifsfs.h           |   3 +-
 fs/cifs/cifsglob.h         |   7 +-
 fs/cifs/cifsproto.h        |   8 ++
 fs/cifs/connect.c          | 142 ++++++++++++++++++----------
 fs/cifs/dfs_cache.c        |   2 +-
 fs/cifs/dir.c              |   5 +
 fs/cifs/file.c             |  66 ++++++++-----
 fs/cifs/fs_context.c       |   8 +-
 fs/cifs/fscache.c          | 333
++++++++++++++++--------------------------------------------------
 fs/cifs/fscache.h          | 128 +++++++++----------------
 fs/cifs/inode.c            |  25 +++--
 fs/cifs/misc.c             |  49 ++++++++++
 fs/cifs/netmisc.c          |   5 +-
 fs/cifs/ntlmssp.h          |  30 +++++-
 fs/cifs/sess.c             | 112 ++++++++++++++++------
 fs/cifs/smb2pdu.c          | 112 +++++++++++++++-------
 fs/cifs/smb2transport.c    |   6 ++
 fs/cifs/transport.c        |  17 +---
 fs/smbfs_common/smb2pdu.h  |   2 +-
 fs/smbfs_common/smbfsctl.h |   2 +
 25 files changed, 573 insertions(+), 626 deletions(-)
 delete mode 100644 fs/cifs/cache.c


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2021-05-09 14:37 Steve French
  2021-05-09 20:49 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2021-05-09 14:37 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
7c9e41e0ef7d44a0818a3beec30634f3f588a23d:

  Merge tag '5.13-rc-smb3-part2' of
git://git.samba.org/sfrench/cifs-2.6 (2021-05-05 13:37:07 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.13-rc-smb3-part3

for you to fetch changes up to c1f8a398b6d661b594556a91224b096d92293061:

  smb3: if max_channels set to more than one channel request
multichannel (2021-05-08 10:51:06 -0500)

----------------------------------------------------------------
3 small SMB3 multichannel related changesets (also for stable) from
the SMB3 test event this week.  The other fixes are still in
review/testing

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/634
----------------------------------------------------------------
Steve French (3):
      smb3: when mounting with multichannel include it in requested capabilities
      smb3: do not attempt multichannel to server which does not support it
      smb3: if max_channels set to more than one channel request multichannel

 fs/cifs/fs_context.c | 3 +++
 fs/cifs/sess.c       | 6 ++++++
 fs/cifs/smb2pdu.c    | 5 +++++


--
Thanks,

Steve

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2021-04-09  1:48 Steve French
  2021-04-09  2:04 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2021-04-09  1:48 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2021-01-24  4:44 Steve French
  2021-01-24 18:34 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2021-01-24  4:44 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2020-12-05  1:23 Steve French
  2020-12-05 19:21 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2020-12-05  1:23 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2020-12-01 22:28 Steve French
  2020-12-01 23:49 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2020-12-01 22:28 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2020-11-24 22:00 Steve French
  2020-11-24 23:47 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2020-11-24 22:00 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 fixes
@ 2020-08-15  5:32 Steve French
  2020-08-16  1:55 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2020-08-15  5:32 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2020-07-11  0:53 Steve French
  2020-07-11  4:25 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2020-07-11  0:53 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2020-06-27 20:11 Steve French
  2020-06-27 22:45 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2020-06-27 20:11 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2020-04-19 12:50 Steve French
  2020-04-19 19:20 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2020-04-19 12:50 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
8f3d9f354286745c751374f5f1fcafee6b3f3136:

  Linux 5.7-rc1 (2020-04-12 12:35:55 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 9692ea9d3288a201df762868a52552b2e07e1c55:

  smb3: remove overly noisy debug line in signing errors (2020-04-16
12:23:40 -0500)

----------------------------------------------------------------
Three small smb3 fixes: two debug related (helping network tracing for
SMB2 mounts, and the other removing an unintended debug line on
signing failures), and one fixing a performance problem with 64K pages

Regression testing results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/344
----------------------------------------------------------------
Jones Syue (1):
      cifs: improve read performance for page size 64KB & cache=strict
& vers=2.1+

Ronnie Sahlberg (1):
      cifs: dump the session id and keys also for SMB2 sessions

Steve French (1):
      smb3: remove overly noisy debug line in signing errors

 fs/cifs/cifssmb.c       |  4 ++++
 fs/cifs/inode.c         |  2 +-
 fs/cifs/smb2pdu.c       | 15 +++++++++++++++
 fs/cifs/smb2transport.c |  4 ++--
 4 files changed, 22 insertions(+), 3 deletions(-)

-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2020-01-28 18:31 Steve French
  2020-01-28 23:40 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2020-01-28 18:31 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
d5226fa6dbae0569ee43ecfc08bdcd6770fc4755:

  Linux 5.5 (2020-01-26 16:23:03 -0800)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git
tags/5.6-smb3-fixes-and-dfs-and-readdir-improvements

for you to fetch changes up to f1f27ad74557e39f67a8331a808b860f89254f2d:

  CIFS: Fix task struct use-after-free on reconnect (2020-01-26 19:24:17 -0600)

----------------------------------------------------------------
   - Various SMB3/CIFS fixes including 4 for stable.
   - Improvement to fallocate (enables 3 additional xfstests)
   - Fix for file creation when mounting with modefromsid
   - Add ability to backup/restore dos attributes and creation time over SMB3
   - DFS failover and reconnect fixes
   - Performance optimization for readdir (by using SMB3 compounding)

Buildbot automated functional test results:
     http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/312

Note that due to the upcoming SMB3 Test Event (at SNIA SDC next week).
There will likely be more changesets near the end of the merge window
(since we will be testing heavily next week, I held off on some patches
and I expect some additional multichannel patches as well as patches
to enable some additional xfstests).
----------------------------------------------------------------
Boris Protopopov (1):
      CIFS: Add support for setting owner info, dos attributes, and create time

Chen Zhou (1):
      cifs: use PTR_ERR_OR_ZERO() to simplify code

David Howells (1):
      cifs: Don't use iov_iter::type directly

Paulo Alcantara (SUSE) (8):
      cifs: Clean up DFS referral cache
      cifs: Get rid of kstrdup_const()'d paths
      cifs: Introduce helpers for finding TCP connection
      cifs: Merge is_path_valid() into get_normalized_path()
      cifs: Fix potential deadlock when updating vol in cifs_reconnect()
      cifs: Avoid doing network I/O while holding cache lock
      cifs: Fix mount options set in automount
      cifs: Fix memory allocation in __smb2_handle_cancelled_cmd()

Ronnie Sahlberg (6):
      cifs: prepare SMB2_query_directory to be used with compounding
      cifs: create a helper function to parse the query-directory
response buffer
      cifs: use compounding for open and first query-dir for readdir()
      cifs: set correct max-buffer-size for smb2_ioctl_init()
      cifs: fix NULL dereference in match_prepath
      cifs: add support for fallocate mode 0 for non-sparse files

Steve French (2):
      cifs: fix unitialized variable poential problem with network I/O
cache lock patch
      smb3: fix default permissions on new files when mounting with modefromsid

Vincent Whitchurch (1):
      CIFS: Fix task struct use-after-free on reconnect

YueHaibing (2):
      cifs: Fix return value in __update_cache_entry
      cifs: remove set but not used variable 'server'

zhengbin (2):
      fs/cifs/smb2ops.c: use true,false for bool variable
      fs/cifs/cifssmb.c: use true,false for bool variable

 fs/cifs/cifs_dfs_ref.c  |   97 ++---
 fs/cifs/cifsacl.c       |   20 +
 fs/cifs/cifsfs.h        |    3 +
 fs/cifs/cifsglob.h      |    1 +
 fs/cifs/cifsproto.h     |    4 +
 fs/cifs/cifssmb.c       |    4 +-
 fs/cifs/connect.c       |    6 +-
 fs/cifs/dfs_cache.c     | 1112 +++++++++++++++++++++++++----------------------
 fs/cifs/file.c          |    8 +-
 fs/cifs/inode.c         |    4 +-
 fs/cifs/smb2misc.c      |    2 +-
 fs/cifs/smb2ops.c       |  171 +++++---
 fs/cifs/smb2pdu.c       |  182 +++++---
 fs/cifs/smb2pdu.h       |    2 +
 fs/cifs/smb2proto.h     |    5 +
 fs/cifs/smb2transport.c |    2 +
 fs/cifs/transport.c     |    3 +
 fs/cifs/xattr.c         |  128 +++++-
 18 files changed, 1041 insertions(+), 713 deletions(-)


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2019-12-29  5:06 Steve French
  2019-12-29 19:35 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2019-12-29  5:06 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
46cf053efec6a3a5f343fead837777efe8252a46:

  Linux 5.5-rc3 (2019-12-22 17:02:23 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 046aca3c25fd28da591f59a2dc1a01848e81e0b2:

  cifs: Optimize readdir on reparse points (2019-12-23 09:04:44 -0600)

----------------------------------------------------------------
One performance fix for large directory searches, and one minor style
cleanup noticed by Clang

'Buildbot' regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/304
----------------------------------------------------------------
Nathan Chancellor (1):
      cifs: Adjust indentation in smb2_open_file

Paulo Alcantara (SUSE) (1):
      cifs: Optimize readdir on reparse points

 fs/cifs/cifsglob.h |  1 +
 fs/cifs/readdir.c  | 63
++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 fs/cifs/smb2file.c |  2 +-
 3 files changed, 56 insertions(+), 10 deletions(-)


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2019-12-08  5:41 Steve French
  2019-12-08 21:40 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2019-12-08  5:41 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
21b26d2679584c6a60e861aa3e5ca09a6bab0633:

  Merge tag '5.5-rc-smb3-fixes' of
git://git.samba.org/sfrench/cifs-2.6 (2019-11-30 11:10:39 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 231e2a0ba56733c95cb77d8920e76502b2134e72:

  smb3: improve check for when we send the security descriptor context
on create (2019-12-07 17:38:22 -0600)

----------------------------------------------------------------
9 cifs/smb3 fixes:
      - one fix for stable (oops during oplock break)
      - two timestamp fixes including important one for updating mtime at close
           to avoid stale metadata caching issue on dirty files (also
improves perf
           by using SMB2_CLOSE_FLAG_POSTQUERY_ATTRIB over the wire)
      - two fixes for "modefromsid" mount option for file create
            (now allows mode bits to be set more atomically and
accurately on create
            by adding "sd_context" on create when modefromsid
specified on mount)
       - two fixes for multichannel found in testing this week against
different servers
       - two small cleanup patches
----------------------------------------------------------------
Aurelien Aptel (1):
      cifs: fix possible uninitialized access and race on iface_list

Colin Ian King (1):
      cifs: remove redundant assignment to pointer pneg_ctxt

Deepa Dinamani (1):
      fs: cifs: Fix atime update check vs mtime

Paulo Alcantara (SUSE) (1):
      cifs: Fix lookup of SMB connections on multichannel

Pavel Shilovsky (1):
      CIFS: Fix NULL-pointer dereference in smb2_push_mandatory_locks

Steve French (4):
      smb3: remove unused flag passed into close functions
      smb3: query attributes on file close
      smb3: fix mode passed in on create for modetosid mount option
      smb3: improve check for when we send the security descriptor
context on create

 fs/cifs/cifsacl.c   |  42 ++++++++++++++++----------
 fs/cifs/cifsacl.h   |  32 ++++++++++----------
 fs/cifs/cifsglob.h  |   4 +++
 fs/cifs/cifsproto.h |   1 +
 fs/cifs/connect.c   |   6 +++-
 fs/cifs/file.c      |  11 ++++---
 fs/cifs/inode.c     |   2 +-
 fs/cifs/sess.c      |  32 ++++++++++++++++++--
 fs/cifs/smb2inode.c |   2 +-
 fs/cifs/smb2ops.c   |  49 +++++++++++++++++++++++++++---
 fs/cifs/smb2pdu.c   | 128
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------
 fs/cifs/smb2pdu.h   |  21 +++++++++++++
 fs/cifs/smb2proto.h |   7 +++--
 13 files changed, 265 insertions(+), 72 deletions(-)


--
Thanks,

Steve

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 fixes
@ 2019-10-11 20:40 Steve French
  2019-10-11 21:35 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2019-10-11 20:40 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS

Please pull the following changes since commit
da0c9ea146cbe92b832f1b0f694840ea8eb33cce:

  Linux 5.4-rc2 (2019-10-06 14:27:30 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 0b3d0ef9840f7be202393ca9116b857f6f793715:

  CIFS: Force reval dentry if LOOKUP_REVAL flag is set (2019-10-09
00:10:50 -0500)

----------------------------------------------------------------
Eight small SMB3 fixes, 4 for stable, and important fix for the recent
regression
introduced by filesystem timestamp range patches.

----------------------------------------------------------------
Austin Kim (1):
      fs: cifs: mute -Wunused-const-variable message

Dave Wysochanski (1):
      cifs: use cifsInodeInfo->open_file_lock while iterating to avoid a panic

Pavel Shilovsky (3):
      CIFS: Gracefully handle QueryInfo errors during open
      CIFS: Force revalidate inode when dentry is stale
      CIFS: Force reval dentry if LOOKUP_REVAL flag is set

Steve French (3):
      smb3: cleanup some recent endian errors spotted by updated sparse
      smb3: remove noisy debug message and minor cleanup
      smb3: Fix regression in time handling

 fs/cifs/cifsfs.c    | 24 ++++++++++++++++--------
 fs/cifs/cifsglob.h  |  2 +-
 fs/cifs/connect.c   |  4 ++--
 fs/cifs/dir.c       |  8 +++++++-
 fs/cifs/file.c      | 33 +++++++++++++++++----------------
 fs/cifs/inode.c     |  4 ++++
 fs/cifs/netmisc.c   |  4 ----
 fs/cifs/smb2pdu.c   | 14 ++++++--------
 fs/cifs/smb2proto.h |  4 ++++
 9 files changed, 57 insertions(+), 40 deletions(-)


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2019-09-28 21:46 Steve French
  0 siblings, 0 replies; 55+ messages in thread
From: Steve French @ 2019-09-28 21:46 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS

(resending, correcting typo on line below)

Please pull 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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2019-09-28 21:36 Steve French
  2019-09-30  3:05 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2019-09-28 21:36 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2019-08-08  6:49 Steve French
  2019-08-09  1:30 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2019-08-08  6:49 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2019-07-20 23:48 Steve French
  2019-07-21 17:35 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2019-07-20 23:48 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2019-06-21  2:02 Steve French
  2019-06-21 17:25 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2019-06-21  2:02 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2019-05-31 17:55 Steve French
  2019-05-31 20:55 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2019-05-31 17:55 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2019-05-18  3:37 Steve French
  2019-05-19 19:15 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2019-05-18  3:37 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2019-04-26  0:23 Steve French
  2019-04-26 16:50 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2019-04-26  0:23 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2019-04-17 19:40 Steve French
  2019-04-17 21:15 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2019-04-17 19:40 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS

Please pull the following changes since commit
618d919cae2fcaadc752f27ddac8b939da8b441a:

  Merge tag 'libnvdimm-fixes-5.1-rc6' of
git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
(2019-04-15 16:48:51 -0700)

are available in the Git repository at:

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

for you to fetch changes up to b98749cac4a695f084a5ff076f4510b23e353ecd:

  CIFS: keep FileInfo handle live during oplock break (2019-04-16
09:38:38 -0500)

----------------------------------------------------------------
Five small SMB3 fixes, all also for stable: an important fix for an
oplock (lease) bug, a handle leak fix, and fixes for 3 bugs spotted by
KASAN

----------------------------------------------------------------
Aurelien Aptel (1):
      CIFS: keep FileInfo handle live during oplock break

Ronnie Sahlberg (1):
      cifs: fix handle leak in smb2_query_symlink()

ZhangXiaoxu (3):
      cifs: Fix use-after-free in SMB2_write
      cifs: Fix use-after-free in SMB2_read
      cifs: Fix lease buffer length error

 fs/cifs/cifsglob.h |  2 ++
 fs/cifs/file.c     | 30 +++++++++++++++++++++++++-----
 fs/cifs/misc.c     | 25 +++++++++++++++++++++++--
 fs/cifs/smb2misc.c |  6 +++---
 fs/cifs/smb2ops.c  |  2 ++
 fs/cifs/smb2pdu.c  | 11 +++++++----
 6 files changed, 62 insertions(+), 14 deletions(-)


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2019-04-03 18:03 Steve French
  2019-04-04  6:30 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2019-04-03 18:03 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT PULL] SMB3 Fixes
@ 2019-03-24  3:22 Steve French
  2019-03-24 18:40 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2019-03-24  3:22 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

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

^ permalink raw reply	[flat|nested] 55+ messages in thread
* [GIT][PULL] smb3 fixes
@ 2019-03-08 16:54 Steve French
  2019-03-09 19:55 ` pr-tracker-bot
  0 siblings, 1 reply; 55+ messages in thread
From: Steve French @ 2019-03-08 16:54 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

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

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

end of thread, other threads:[~2022-01-22  9:40 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-21 16:20 [GIT PULL] SMB3 Fixes Steve French
2021-05-21 23:31 ` pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2022-01-22  5:51 [GIT PULL] smb3 fixes Steve French
2022-01-22  9:40 ` pr-tracker-bot
2021-05-09 14:37 [GIT PULL] SMB3 Fixes Steve French
2021-05-09 20:49 ` pr-tracker-bot
2021-04-09  1:48 Steve French
2021-04-09  2:04 ` pr-tracker-bot
2021-01-24  4:44 Steve French
2021-01-24 18:34 ` pr-tracker-bot
2020-12-05  1:23 Steve French
2020-12-05 19:21 ` pr-tracker-bot
2020-12-01 22:28 Steve French
2020-12-01 23:49 ` pr-tracker-bot
2020-11-24 22:00 Steve French
2020-11-24 23:47 ` pr-tracker-bot
2020-08-15  5:32 [GIT PULL] SMB3 fixes Steve French
2020-08-16  1:55 ` pr-tracker-bot
2020-07-11  0:53 [GIT PULL] SMB3 Fixes Steve French
2020-07-11  4:25 ` pr-tracker-bot
2020-06-27 20:11 Steve French
2020-06-27 22:45 ` pr-tracker-bot
2020-04-19 12:50 Steve French
2020-04-19 19:20 ` pr-tracker-bot
2020-01-28 18:31 Steve French
2020-01-28 23:40 ` pr-tracker-bot
2019-12-29  5:06 Steve French
2019-12-29 19:35 ` pr-tracker-bot
2019-12-08  5:41 Steve French
2019-12-08 21:40 ` pr-tracker-bot
2019-10-11 20:40 [GIT PULL] SMB3 fixes Steve French
2019-10-11 21:35 ` pr-tracker-bot
2019-09-28 21:46 [GIT PULL] SMB3 Fixes Steve French
2019-09-28 21:36 Steve French
2019-09-30  3:05 ` pr-tracker-bot
2019-08-08  6:49 Steve French
2019-08-09  1:30 ` pr-tracker-bot
2019-07-20 23:48 Steve French
2019-07-21 17:35 ` pr-tracker-bot
2019-06-21  2:02 Steve French
2019-06-21 17:25 ` pr-tracker-bot
2019-05-31 17:55 Steve French
2019-05-31 20:55 ` pr-tracker-bot
2019-05-18  3:37 Steve French
2019-05-19 19:15 ` pr-tracker-bot
2019-04-26  0:23 Steve French
2019-04-26 16:50 ` pr-tracker-bot
2019-04-17 19:40 Steve French
2019-04-17 21:15 ` pr-tracker-bot
2019-04-03 18:03 Steve French
2019-04-04  6:30 ` pr-tracker-bot
2019-03-24  3:22 Steve French
2019-03-24 18:40 ` pr-tracker-bot
2019-03-08 16:54 [GIT][PULL] smb3 fixes Steve French
2019-03-09 19:55 ` 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).