Skip to content
Commit 55c760cf authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd4: fix forechannel attribute negotiation



Negotiation of the 4.1 session forechannel attributes is a mess.  Fix:

	- Move it all into check_forechannel_attrs instead of spreading
	  it between that, alloc_session, and init_forechannel_attrs.
	- set a minimum "slotsize" so that our drc memory limits apply
	  even for small maxresponsesize_cached.  This also fixes some
	  bugs when slotsize becomes <= 0.

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 373cd409
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment