ACK: [Pull Request] [jammy/linux-azure] linux-azure: Update cifs through 5.17-rc4

Philip Cox philip.cox at canonical.com
Tue May 3 14:14:19 UTC 2022


Acked-by: Philip Cox <philip.cox at canonical.com>

On 2022-04-29 1:08 p.m., Tim Gardner wrote:
> BugLink: https://bugs.launchpad.net/bugs/1970977
>
> I used clean cherry-picks for all but 5 patches. For those I used the 
> backports provided in the cifs-2.6.git repository. I annotated those 
> backports with the upstream commit from whence the backport originated.
>
> [Impact]
>
> Microsoft has provided updates to the cifs 5.15 backport through
> 5.18-rc3 at 'git://git.samba.org/sfrench/cifs-2.6.git 5.15-backport'.
>
> [Test Case]
>
> Microsoft tested.
>
> [Where things could go wrong]
>
> cifs connections or data transfers could fail.
>
> [Other Info]
>
> SF: #00327908
>
> ======================================================================
> The following changes since commit 
> af8b2034959ea5d431bf63ddd1e8eee5181af3f6:
>
>   UBUNTU: Ubuntu-azure-5.15.0-1005.6 (2022-04-20 10:36:55 +0200)
>
> are available in the Git repository at:
>
> git://git.launchpad.net/~timg-tpi/ubuntu/+source/linux/+git/jammy 
> a78a33b2991fcfc93903b4539b30d793df0819c2
>
> for you to fetch changes up to a78a33b2991fcfc93903b4539b30d793df0819c2:
>
>   cifs: destage any unwritten data to the server before calling 
> copychunk_write (2022-04-29 10:32:04 -0600)
>
> ----------------------------------------------------------------
> David Howells (2):
>       cifs: Check the IOCB_DIRECT flag, not O_DIRECT
>       cifs: Split the smb3_add_credits tracepoint
>
> Gustavo A. R. Silva (1):
>       treewide: Replace zero-length arrays with flexible-array members
>
> Haowen Bai (1):
>       cifs: Use kzalloc instead of kmalloc/memset
>
> Harshit Mogalapalli (1):
>       cifs: potential buffer overflow in handling symlinks
>
> Jakob Koschel (1):
>       cifs: remove check of list iterator against head past the loop body
>
> Matthew Wilcox (Oracle) (1):
>       fs: Remove ->readpages address space operation
>
> Paulo Alcantara (8):
>       cifs: do not skip link targets when an I/O fails
>       cifs: fix bad fids sent over wire
>       cifs: prevent bad output lengths in smb2_ioctl_query_info()
>       cifs: fix NULL ptr dereference in smb2_ioctl_query_info()
>       cifs: fix potential race with cifsd thread
>       cifs: force new session setup and tcon for dfs
>       cifs: fix NULL ptr dereference in refresh_mounts()
>       cifs: use correct lock type in cifs_reconnect()
>
> Rohith Surabattula (1):
>       Adjust cifssb maximum read size
>
> Ronnie Sahlberg (7):
>       cifs: fix handlecache and multiuser
>       cifs: truncate the inode and mapping when we simulate fcollapse
>       cifs: we do not need a spinlock around the tree access during 
> umount
>       cifs: convert the path to utf16 in smb2_query_info_compound
>       cifs: change smb2_query_info_compound to use a cached fid, if 
> available
>       cifs: verify that tcon is valid before dereference in cifs_kill_sb
>       cifs: destage any unwritten data to the server before calling 
> copychunk_write
>
> Shyam Prasad N (5):
>       cifs: call cifs_reconnect when a connection is marked
>       cifs: call helper functions for marking channels for reconnect
>       cifs: mark sessions for reconnection in helper function
>       cifs: use a different reconnect helper for non-cifsd threads
>       cifs: release cached dentries only if mount is complete
>
> Steve French (8):
>       improve error message when mount options conflict with posix
>       smb3: fix incorrect session setup check for multiuser mounts
>       move more common protocol header definitions to smbfs_common
>       smb3: move defines for ioctl protocol header and SMB2 sizes to 
> smbfs_common
>       smb3: move defines for query info and query fsinfo to smbfs_common
>       smb3: cleanup and clarify status of tree connections
>       smb3: fix ksmbd bigendian bug in oplock break, and move its 
> struct to smbfs_common
>       cifs: update internal module number
>
> Xiaomeng Tong (1):
>       cifs: fix incorrect use of list iterator after the loop
>
>  fs/cifs/cifs_debug.c      |   2 +-
>  fs/cifs/cifs_swn.c        |   6 +-
>  fs/cifs/cifsfs.c          |  38 +++++----
>  fs/cifs/cifsfs.h          |   2 +-
>  fs/cifs/cifsglob.h        |  24 +++---
>  fs/cifs/cifspdu.h         |  14 +---
>  fs/cifs/cifsproto.h       |   3 +
>  fs/cifs/cifssmb.c         |  13 ++-
>  fs/cifs/connect.c         | 150 ++++++++++++++++++++++++++--------
>  fs/cifs/dfs_cache.c       |  21 +++--
>  fs/cifs/file.c            |  10 +++
>  fs/cifs/inode.c           |   2 +-
>  fs/cifs/link.c            |   3 +
>  fs/cifs/misc.c            |   2 +-
>  fs/cifs/netmisc.c         |   2 +-
>  fs/cifs/ntlmssp.h         |   2 +-
>  fs/cifs/smb1ops.c         |   4 +-
>  fs/cifs/smb2glob.h        |  11 ---
>  fs/cifs/smb2misc.c        |  24 +++---
>  fs/cifs/smb2ops.c         | 280 
> +++++++++++++++++++++++++++++++++++++--------------------------
>  fs/cifs/smb2pdu.c         |  73 ++++++++---------
>  fs/cifs/smb2pdu.h         | 560 
> +-----------------------------------------------------------------------------------------------------------------------------
>  fs/cifs/smb2proto.h       |   2 +-
>  fs/cifs/trace.h           |   7 ++
>  fs/cifs/transport.c       |  12 +--
>  fs/smbfs_common/smb2pdu.h | 639 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
>  26 files changed, 1055 insertions(+), 851 deletions(-)
>
>



More information about the kernel-team mailing list