summaryrefslogtreecommitdiff
path: root/net/nsh
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2021-02-01 00:16:23 +0300
committerChuck Lever <chuck.lever@oracle.com>2021-02-01 18:03:51 +0300
commitbad4c6eb5eaa8300e065bd4426727db5141d687d (patch)
treed3958632fdd4fd7cc2e3290800286ecc55e0b52d /net/nsh
parent1048ba83fb1c00cd24172e23e8263972f6b5d9ac (diff)
downloadlinux-bad4c6eb5eaa8300e065bd4426727db5141d687d.tar.xz
SUNRPC: Fix NFS READs that start at non-page-aligned offsets
Anj Duvnjak reports that the Kodi.tv NFS client is not able to read video files from a v5.10.11 Linux NFS server. The new sendpage-based TCP sendto logic was not attentive to non- zero page_base values. nfsd_splice_read() sets that field when a READ payload starts in the middle of a page. The Linux NFS client rarely emits an NFS READ that is not page- aligned. All of my testing so far has been with Linux clients, so I missed this one. Reported-by: A. Duvnjak <avian@extremenerds.net> BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=211471 Fixes: 4a85a6a3320b ("SUNRPC: Handle TCP socket sends with kernel_sendpage() again") Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Tested-by: A. Duvnjak <avian@extremenerds.net>
Diffstat (limited to 'net/nsh')
0 files changed, 0 insertions, 0 deletions