linux-sg2042/include/linux/lockd
Chuck Lever 511d2e8855 NLM: Shrink the maximum request size of NLM4 requests
NLM version 4 requests estimate the call and reply header sizes rather
conservatively, using the very maximum size allowed in the protocol even
though Linux always uses only a small fraction of the allowable space.

Reduce the size of caller and lock arguments to conserve RPC buffer space
while XDR encoding NLM4 arguments.  Add compile-time checks to ensure the
hostname string won't overflow NLM protocol maximums.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2007-04-30 22:17:09 -07:00
..
bind.h [PATCH] lockd endianness annotations 2006-12-13 09:05:52 -08:00
debug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lockd.h NLM: Shrink the maximum request size of NLM4 requests 2007-04-30 22:17:09 -07:00
nlm.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
share.h [PATCH] lockd endianness annotations 2006-10-20 10:26:40 -07:00
sm_inter.h [PATCH] lockd endianness annotations 2006-12-13 09:05:52 -08:00
xdr.h [PATCH] lockd endianness annotations 2006-12-13 09:05:52 -08:00
xdr4.h [PATCH] lockd endianness annotations 2006-10-20 10:26:40 -07:00