Skip to content
Commit 47ee5298 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

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: default avatarJ. Bruce Fields <bfields@redhat.com>
parent db3f58a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment