diff options
author | Long Li <longli@microsoft.com> | 2018-04-17 12:17:05 -0700 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2018-04-18 22:02:49 -0500 |
commit | ab60ee7bf9a84954f50a66a3d835860e80f99b7f (patch) | |
tree | 9124edf8bd5d58b1c5a6f8dfd7b5f2d241e1f1dd /fs/befs/endian.h | |
parent | a5240cbde22c86c606c6462d32aea0648c21fdc3 (diff) | |
download | linux-ab60ee7bf9a84954f50a66a3d835860e80f99b7f.tar.bz2 |
cifs: smbd: Check for iov length on sending the last iov
When sending the last iov that breaks into smaller buffers to fit the
transfer size, it's necessary to check if this is the last iov.
If this is the latest iov, stop and proceed to send pages.
Signed-off-by: Long Li <longli@microsoft.com>
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/befs/endian.h')
0 files changed, 0 insertions, 0 deletions