Re: [PATCH 05/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:55 -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.
> 
> nfs_decode_dirent() is renamed to follow the naming convention of the
> other two dirent decoders.
> 
> 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>

error: patch failed: fs/nfs/nfs2xdr.c:630
error: fs/nfs/nfs2xdr.c: patch does not apply


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