Merge tag '6.3-rc-ksmbd-fixes' of git://git.samba.org/ksmbd
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Feb 2023 22:17:27 +0000 (14:17 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Feb 2023 22:17:27 +0000 (14:17 -0800)
Pull ksmbd server updates from Steve French:

 - Fix for memory leak

 - Two important fixes for frame length checks (which are also now
   stricter)

 - four minor cleanup fixes

 - Fix to clarify ksmbd/Kconfig to indent properl

 - Conversion of the channel list and rpc handle list to xarrays

* tag '6.3-rc-ksmbd-fixes' of git://git.samba.org/ksmbd:
  ksmbd: fix possible memory leak in smb2_lock()
  ksmbd: do not allow the actual frame length to be smaller than the rfc1002 length
  ksmbd: fix wrong data area length for smb2 lock request
  ksmbd: Fix parameter name and comment mismatch
  ksmbd: Fix spelling mistake "excceed" -> "exceeded"
  ksmbd: update Kconfig to note Kerberos support and fix indentation
  ksmbd: Remove duplicated codes
  ksmbd: fix typo, syncronous->synchronous
  ksmbd: Implements sess->rpc_handle_list as xarray
  ksmbd: Implements sess->ksmbd_chann_list as xarray

1  2 
fs/ksmbd/smb2pdu.c
fs/ksmbd/vfs.c
fs/ksmbd/vfs_cache.c

Simple merge
diff --cc fs/ksmbd/vfs.c
index aa1300b7bfc2767bd0a4214532e51b007a8dd263,0f0d6158c88e05c1edfe8d7fdeb347314277c336..5ea9229dad2c0325b64f2f71aa938eabaac0faf0
@@@ -950,11 -949,11 +950,11 @@@ ssize_t ksmbd_vfs_getxattr(struct mnt_i
  
  /**
   * ksmbd_vfs_setxattr() - vfs helper for smb set extended attributes value
 - * @user_ns:  user namespace
 + * @idmap:    idmap of the relevant mount
   * @dentry:   dentry to set XATTR at
-  * @name:     xattr name for setxattr
-  * @value:    xattr value to set
-  * @size:     size of xattr value
+  * @attr_name:        xattr name for setxattr
+  * @attr_value:       xattr value to set
+  * @attr_size:        size of xattr value
   * @flags:    destination buffer length
   *
   * Return:    0 on success, otherwise error
Simple merge