]> www.infradead.org Git - users/jedix/linux-maple.git/commit
smb: client: get rid of bounds check in SMB2_ioctl_init()
authorPaulo Alcantara <pc@manguebit.com>
Mon, 18 Nov 2024 15:35:15 +0000 (12:35 -0300)
committerSteve French <stfrench@microsoft.com>
Thu, 21 Nov 2024 16:45:50 +0000 (10:45 -0600)
commit9f544d26b15bfc52cf3a6e6a655f759e76c1a01a
treeee925908c352408ac586d31c3f4061ab27e4ab28
parentbc925c1216f0848da96ac642fba3cb92ae1f4e06
smb: client: get rid of bounds check in SMB2_ioctl_init()

smb2_set_next_command() no longer squashes request iovs into a single
iov, so the bounds check can be dropped.

Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2pdu.c