[GIT PULL] ksmbd server fixes
From: Steve French
Date: Tue Jun 28 2022 - 18:07:31 EST
Please pull the following changes since commit
f2906aa863381afb0015a9eb7fefad885d4e5a56:
Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)
are available in the Git repository at:
git://git.samba.org/ksmbd.git tags/5.19-rc4-ksmbd-server-fixes
for you to fetch changes up to 067baa9a37b32b95fdeabccde4b0cb6a2cf95f96:
ksmbd: use vfs_llseek instead of dereferencing NULL (2022-06-25
19:52:49 -0500)
----------------------------------------------------------------
Six ksmbd server fixes, including 3 for stable fixing:
- seek null check
- offset validation in FSCTL_SET_ZERO_DATA
- fallocate fix (relates e.g. to xfstests generic/091 and 263)
- two cleanup fixes
- fix socket settings on some arch
----------------------------------------------------------------
Christophe JAILLET (1):
ksmbd: smbd: Remove useless license text when
SPDX-License-Identifier is already used
Hyunchul Lee (1):
ksmbd: remove duplicate flag set in smb2_write
Jason A. Donenfeld (1):
ksmbd: use vfs_llseek instead of dereferencing NULL
Namjae Jeon (3):
ksmbd: use SOCK_NONBLOCK type for kernel_accept()
ksmbd: set the range of bytes to zero without extending file
size in FSCTL_ZERO_DATA
ksmbd: check invalid FileOffset and BeyondFinalZero in FSCTL_ZERO_DATA
fs/ksmbd/smb2pdu.c | 32 ++++++++++++++++++--------------
fs/ksmbd/transport_rdma.c | 10 ----------
fs/ksmbd/transport_tcp.c | 2 +-
fs/ksmbd/vfs.c | 8 +++++---
4 files changed, 24 insertions(+), 28 deletions(-)
--
Thanks,
Steve