Skip to content
Commit 8bcda1d2 authored by Long Li's avatar Long Li Committed by Steve French
Browse files

cifs: smbd: Avoid allocating iov on the stack



It's not necessary to allocate another iov when going through the buffers
in smbd_send() through RDMA send.

Remove it to reduce stack size.

Thanks to Matt for spotting a printk typo in the earlier version of this.

CC: Matt Redfearn <matt.redfearn@mips.com>
Signed-off-by: default avatarLong Li <longli@microsoft.com>
Acked-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarSteve French <smfrench@gmail.com>
parent bb4c0419
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment