Commits
![Andy Lutomirski](https://secure.gravatar.com/avatar/ab5d4f513e4557b0f02c9969ef39f826.jpg?s=96&d=mm)
Andy Lutomirski committed 7aa58e7ad53
cifs: Fix smbencrypt() to stop pointing a scatterlist at the stack commit 06deeec77a5a689cc94b21a8a91a76e42176685d upstream. smbencrypt() points a scatterlist to the stack, which is breaks if CONFIG_VMAP_STACK=y. Fix it by switching to crypto_cipher_encrypt_one(). The new code should be considerably faster as an added benefit. This code is nearly identical to some code that Eric Biggers suggested. Reported-by: Eric Biggers <ebiggers3@gmail.com> Signed-off-by: Andy Lutomirski <luto@kernel.org> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>