Lock xprt for send only if proto is UDP.

The new out-of-line TCP send logic does not require
general serialization.

Also updates ntirpc submodule, since locking change
requires updated ntirpc.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Update ntirpc submodule.

Take xdr_ioq changes.
Take change basing xdr_ioq max segment size (used when
security flavor is RPCSEC_GSS) on Ganesha's configured
MaxRPCSendBufferSize (plus 8K).

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Set new svc_ioq_maxbuf svc_init param.

The value is taken from Ganesha's MaxRPCRecvBufferSize
conf parameter.  Pending a future ntirpc change to use
new/unpublished GSSAPI iov interfaces, this value must
exceed the largest permitted client rsize.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Call ntirpc svc_shutdown before general fridge shutdown.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Set default send/recv size to 1M

If MaxWrite and MaxRead are larger than the recv/send buffer sizes, you
will get mysterious and inexplicable errors under krb5i and krb5p.  This
bumps the send/recv size to match the default of the Linux kernel.

This is not an ideal solution.  If you make the maxread/maxwrite
bigger, it will break again and you'll have to explicitly set the
MaxRPCSendBufferSize and MaxRPCRecvBufferSize variables in the
configuration file.

The long term solution is to get rid of these parameters, make Maxread
and Maxwrite global options, and use them instead.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Add warnings for MaxRead/MaxWrite bigger than the RPC Buffer

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>