]> www.infradead.org Git - users/dwmw2/linux.git/commit
smb: client: improve compound padding in encryption
authorPaulo Alcantara <pc@manguebit.com>
Mon, 18 Nov 2024 15:35:14 +0000 (12:35 -0300)
committerSteve French <stfrench@microsoft.com>
Thu, 21 Nov 2024 16:45:49 +0000 (10:45 -0600)
commitbc925c1216f0848da96ac642fba3cb92ae1f4e06
tree5ef531742bc4cfd47eb88a1b89a6d9630c2284f7
parent9ed9d83a51a9636d367c796252409e7b2f4de4d4
smb: client: improve compound padding in encryption

After commit f7f291e14dde ("cifs: fix oops during encryption"), the
encryption layer can handle vmalloc'd buffers as well as kmalloc'd
buffers, so there is no need to inefficiently squash request iovs
into a single one to handle padding in compound requests.

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/cifsglob.h
fs/smb/client/smb2ops.c
fs/smb/client/transport.c