From: Chuck Lever Date: Thu, 29 Mar 2007 20:47:47 +0000 (-0400) Subject: NLM: Shrink the maximum request size of NLM4 requests X-Git-Tag: v2.6.22-rc1~1035^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=511d2e8855a065c8251d0c140ebc353854f1929e;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed