On Dec 15, 2010, at 4:49 PM, Trond Myklebust wrote: > On Tue, 2010-12-14 at 09:56 -0500, Chuck Lever wrote: >> 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 eventually want to be able to pass xdr_streams >> from call_decode() to all XDR decoding functions, rather than building >> an xdr_stream in every XDR decoding function in the kernel. >> >> Static helper functions are left without the "inline" directive. This >> allows the compiler to choose automatically how to optimize these for >> size or speed. >> >> Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx> >> Tested-by: J. Bruce Fields <bfields@xxxxxxxxxx> >> --- >> >> fs/nfs/nfs3xdr.c | 1534 +++++++++++++++++++++++++++++++++++++++++++++++--- >> include/linux/nfs3.h | 1 >> 2 files changed, 1451 insertions(+), 84 deletions(-) > > Doesn't look like NFSv2 to me... You have my permission to correct the short definition. -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html