]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ksmbd: smbd: change the return value of get_sg_list
authorHyunchul Lee <hyc.lee@gmail.com>
Mon, 18 Dec 2023 15:32:56 +0000 (00:32 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 09:41:51 +0000 (10:41 +0100)
commit673c186f810501bb20785561c3dd8edb5a55dadc
tree5a1d84bc6d96aa44be6018cfbe90a5b46caf725c
parent30bd0df6e6675862f702639fc897452171d87151
ksmbd: smbd: change the return value of get_sg_list

[ Upstream commit 4e3edd0092704b25626a0fe60a974f6f382ff93d ]

Make get_sg_list return EINVAL if there aren't
mapped scatterlists.

Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ksmbd/transport_rdma.c