From: Chuck Lever Date: Tue, 14 Dec 2010 14:57:12 +0000 (+0000) Subject: lockd: Introduce new-style XDR functions for NLMv4 X-Git-Tag: v2.6.38-rc1~407^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3460f29a27344db8c7af62cafdb961286ef0b6cd;p=pandora-kernel.git lockd: Introduce new-style XDR functions for NLMv4 We'd like to prevent local buffer overflows caused by malicious or broken servers. New xdr_stream style decoders can do that. For efficiency, we also want to be able to pass xdr_streams from call_encode() to all XDR encoding functions, rather than building an xdr_stream in every XDR encoding function in the kernel. Same idea as the NLM v3 XDR overhaul. Signed-off-by: Chuck Lever Tested-by: J. Bruce Fields Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed