]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ksmbd: Fix to handle removal of rfc1002 header from smb_hdr
authorDavid Howells <dhowells@redhat.com>
Thu, 18 Dec 2025 16:20:34 +0000 (01:20 +0900)
committerSteve French <stfrench@microsoft.com>
Mon, 22 Dec 2025 01:20:46 +0000 (19:20 -0600)
commit0a70cac7896712a08e3cd22c16f44be976d40dbf
tree2af509ebcdba5d69027b568152f7e54a19552909
parent9448598b22c50c8a5bb77a9103e2d49f134c9578
ksmbd: Fix to handle removal of rfc1002 header from smb_hdr

The commit that removed the RFC1002 header from struct smb_hdr didn't also
fix the places in ksmbd that use it in order to provide graceful rejection
of SMB1 protocol requests.

Fixes: 83bfbd0bb902 ("cifs: Remove the RFC1002 header from smb_hdr")
Reported-by: Namjae Jeon <linkinjeon@kernel.org>
Link: https://lore.kernel.org/r/CAKYAXd9Ju4MFkkH5Jxfi1mO0AWEr=R35M3vQ_Xa7Yw34JoNZ0A@mail.gmail.com/
Cc: ChenXiaoSong <chenxiaosong.chenxiaosong@linux.dev>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/server.c
fs/smb/server/smb_common.c