diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2020-01-02 23:09:54 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-01-15 16:54:33 +0100 |
commit | 62a1573fcf844a559a79bec2eafc4309f2be5c5b (patch) | |
tree | 40264ba3186606cf36b0a3671f2c1fc954596e0f /fs/nfs/nfs42proc.c | |
parent | NFS: Add mount option 'softreval' (diff) | |
download | linux-62a1573fcf844a559a79bec2eafc4309f2be5c5b.tar.xz linux-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