aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs42proc.c
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2020-01-02 17:09:54 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2020-01-15 10:54:33 -0500
commit62a1573fcf844a559a79bec2eafc4309f2be5c5b (patch)
tree40264ba3186606cf36b0a3671f2c1fc954596e0f /fs/nfs/nfs42proc.c
parentNFS: Add mount option 'softreval' (diff)
downloadlinux-dev-62a1573fcf844a559a79bec2eafc4309f2be5c5b.tar.xz
linux-dev-62a1573fcf844a559a79bec2eafc4309f2be5c5b.zip
NFSv4 fix acl retrieval over krb5i/krb5p mounts
For the krb5i and krb5p mount, it was problematic to truncate the received ACL to the provided buffer because an integrity check could not be preformed. Instead, provide enough pages to accommodate the largest buffer bounded by the largest RPC receive buffer size. Note: I don't think it's possible for the ACL to be truncated now. Thus NFS4_ACL_TRUNC flag and related code could be possibly removed but since I'm unsure, I'm leaving it. v2: needs +1 page. Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/nfs42proc.c')
0 files changed, 0 insertions, 0 deletions