Mi Jinlong 1b74c25bc1 nfsd41: error out when client sets maxreq_sz or maxresp_sz too small
According to RFC5661, 18.36.3,

 "if the client selects a value for ca_maxresponsesize such that
  a replier on a channel could never send a response,the server
  SHOULD return NFS4ERR_TOOSMALL in the CREATE_SESSION reply."

So, error out when the client sets a maxreq_sz less than the minimum
possible SEQUENCE request size, or sets a maxresp_sz less than the
minimum possible SEQUENCE reply size.

Signed-off-by: Mi Jinlong <mijinlong@cn.fujitsu.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2011-07-15 18:58:51 -04:00
..
2011-01-04 18:22:10 -05:00
2008-02-01 16:42:05 -05:00
2007-05-09 12:30:54 -07:00
2011-03-07 12:05:09 -05:00
2011-07-15 18:58:48 -04:00
2011-07-15 18:58:48 -04:00
2011-03-31 11:26:23 -03:00
2011-07-15 18:58:48 -04:00
2011-05-10 10:16:21 +02:00
2011-07-15 18:58:48 -04:00