mirror of
https://github.com/torvalds/linux.git
synced 2026-06-30 10:05:51 +02:00
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> |
||
|---|---|---|
| .. | ||
| bind.h | ||
| debug.h | ||
| lockd.h | ||
| nlm.h | ||
| share.h | ||
| sm_inter.h | ||
| xdr.h | ||
| xdr4.h | ||