diff options
author | J. Bruce Fields <bfields@redhat.com> | 2014-03-13 02:39:35 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-05-30 23:32:02 +0200 |
commit | 47ee52986472dba068e8223cbaf1b65d74238781 (patch) | |
tree | 4436adf69861759600318696325b8bb9633d4602 /fs/nfsd/xdr4.h | |
parent | rpc: define xdr_restrict_buflen (diff) | |
download | linux-47ee52986472dba068e8223cbaf1b65d74238781.tar.xz linux-47ee52986472dba068e8223cbaf1b65d74238781.zip |
nfsd4: adjust buflen to session channel limit
We can simplify session limit enforcement by restricting the xdr buflen
to the session size.
Also fix a preexisting bug: we should really have been taking into
account the auth-required space when comparing against session limits,
which are limits on the size of the entire rpc reply, including any krb5
overhead.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
0 files changed, 0 insertions, 0 deletions