diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-12-14 15:56:30 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-12-16 18:37:23 +0100 |
commit | e4f9323409369a3aeb01885c0c4409d2eeec794a (patch) | |
tree | 67fffcae54825264e5d908ef72ffb89870670bbd /block/blk-cgroup.c | |
parent | NFS: Update xdr_encode_foo() functions that we're keeping (diff) | |
download | linux-e4f9323409369a3aeb01885c0c4409d2eeec794a.tar.xz linux-e4f9323409369a3aeb01885c0c4409d2eeec794a.zip |
NFS: Introduce new-style XDR decoding functions for NFSv2
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@oracle.com>
Tested-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'block/blk-cgroup.c')
0 files changed, 0 insertions, 0 deletions