[SRU][PULL v2][Jammy linux-azure] Update CIFS with 5.19 backports

Tim Gardner tim.gardner at canonical.com
Tue Oct 18 12:43:58 UTC 2022


BugLink: https://bugs.launchpad.net/bugs/1987699

SRU Justification

[Impact]

Microsoft has requested updating CIFS to the 5.15 backport as published 
in 'git://git.samba.org/sfrench/cifs-2.6.git 5.15-backport'.

[Test Plan]

Microsoft tested, "Jammy test kernel with CIFS patches validated by LSG 
we can
merged them in Azure tunned Kernel "

[Where things could go wrong]

CIFS network connections could misbehave

[Other Info]

SF: #00343105

==============================================================================

The following changes since commit 26cf590e8af4f65d737e21bf78f10118d8221d84:

   UBUNTU: Ubuntu-azure-5.15.0-1021.26 (2022-09-22 13:11:47 -0600)

are available in the Git repository at:

 
git+ssh://timg-tpi@git.launchpad.net/~timg-tpi/ubuntu/+source/linux/+git/jammy 
jammy-azure-cifs-5.19-sf00343105

for you to fetch changes up to 331649460fb91cd76932f5d743b071b8fb6531a8:

   cifs: remove minor build warning (2022-10-13 09:30:42 -0600)

----------------------------------------------------------------
ChenXiaoSong (1):
       cifs: return the more nuanced writeback error on close()

Colin Ian King (1):
       cifs: remove redundant initialization to variable mnt_sign_enabled

Enzo Matsumiya (4):
       cifs: don't call cifs_dfs_query_info_nonascii_quirk() if nodfs 
was set
       cifs: return ENOENT for DFS lookup_cache_entry()
       cifs: print TIDs as hex
       cifs: remove repeated debug message on cifs_put_smb_ses()

Julia Lawall (1):
       cifs: smbd: fix typo in comment

Paulo Alcantara (4):
       cifs: fix signed integer overflow when fl_end is OFFSET_MAX
       cifs: fix ntlmssp on old servers
       cifs: skip trailing separators of prefix paths
       cifs: update cifs_ses::ip_addr after failover

Ronnie Sahlberg (4):
       cifs: move definition of cifs_fattr earlier in cifsglob.h
       cifs: check for smb1 in open_cached_dir()
       cifs: set the CREATE_NOT_FILE when opening the directory in 
use_cached_dir()
       cifs: cache the dirents for entries in a cached directory

Shyam Prasad N (12):
       cifs: do not use tcpStatus after negotiate completes
       cifs: use new enum for ses_status
       cifs: avoid parallel session setups on same channel
       cifs: populate empty hostnames for extra channels
       cifs: when a channel is not found for server, log its connection id
       smb3: use netname when available on secondary channels
       cifs: change iface_list from array to sorted linked list
       cifs: during reconnect, update interface if necessary
       cifs: periodically query network interfaces from server
       cifs: avoid deadlocks while updating iface
       cifs: fix race condition with delayed threads
       cifs: remove unnecessary locking of chan_lock while freeing session

Steve French (17):
       smb3: add trace point for lease not found issue
       smb3: add trace point for oplock not found
       Add defines for various newer FSCTLs
       Add various fsctl structs
       cifs: fix minor compile warning
       smb3: don't set rc when used and unneeded in query_info_compound
       smb3: add mount parm nosparse
       smb3: remove unneeded null check in cifs_readdir
       cifs: do not build smb1ops if legacy support is disabled
       cifs: update internal module number
       cifs: fix uninitialized pointer in error case in 
dfs_cache_get_tgt_share
       smb3: add trace point for SMB2_set_eof
       smb3: fix empty netname context on secondary channels
       smb3: workaround negprot bug in some Samba servers
       smb3: check xattr value length earlier
       cifs: remove some camelCase and also some static build warnings
       cifs: remove minor build warning

Vincent Whitchurch (1):
       cifs: fix potential deadlock in direct reclaim

Yu Zhe (2):
       cifs: remove unnecessary type castings
       cifs: remove unnecessary (void*) conversions.

  fs/cifs/Makefile           |   4 +-
  fs/cifs/cifs_debug.c       |  39 ++++----
  fs/cifs/cifs_swn.c         |   4 +-
  fs/cifs/cifsencrypt.c      |   8 +-
  fs/cifs/cifsfs.c           |  21 ++++-
  fs/cifs/cifsfs.h           |   5 +-
  fs/cifs/cifsglob.h         | 216 
++++++++++++++++++++++++++++++++++---------
  fs/cifs/cifsproto.h        |  16 ++++
  fs/cifs/cifssmb.c          |   7 +-
  fs/cifs/connect.c          | 201 ++++++++++++++++++++++++++--------------
  fs/cifs/dfs_cache.c        |  96 ++++++++++---------
  fs/cifs/file.c             |  13 ++-
  fs/cifs/fs_context.c       |  33 ++-----
  fs/cifs/fs_context.h       |   4 +-
  fs/cifs/inode.c            |   4 +-
  fs/cifs/misc.c             |  32 ++++---
  fs/cifs/netmisc.c          |   2 +-
  fs/cifs/readdir.c          | 179 ++++++++++++++++++++++++++++++++++--
  fs/cifs/sess.c             | 224 
+++++++++++++++++++++++++++++++++++----------
  fs/cifs/smb1ops.c          |   6 +-
  fs/cifs/smb2inode.c        |   5 +-
  fs/cifs/smb2misc.c         |  14 ++-
  fs/cifs/smb2ops.c          | 203 ++++++++++++++++++++++------------------
  fs/cifs/smb2pdu.c          |  37 +++++---
  fs/cifs/smb2pdu.h          |  22 -----
  fs/cifs/smb2transport.c    |   9 +-
  fs/cifs/smbdirect.c        |   6 +-
  fs/cifs/trace.h            |  40 ++++++++
  fs/cifs/transport.c        |  52 +++++------
  fs/smbfs_common/smb2pdu.h  | 108 ++++++++++++++++++++--
  fs/smbfs_common/smbfsctl.h |   6 ++
  31 files changed, 1156 insertions(+), 460 deletions(-)
-- 
-----------
Tim Gardner
Canonical, Inc



More information about the kernel-team mailing list