Re: [PATCH 13/31] NFS: Introduce new-style XDR decoding functions for NFSv2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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...

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.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


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux