summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/acl.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2014-03-10 16:34:55 +0100
committerJ. Bruce Fields <bfields@redhat.com>2014-03-27 21:31:58 +0100
commite874f9f8e04cb67351893894dfb9fbcd25e62fa2 (patch)
tree88c14bec77d7b36f741dc88242003ce7b8055e88 /fs/nfsd/acl.h
parentnet: Mark functions as static in net/sunrpc/svc_xprt.c (diff)
downloadlinux-e874f9f8e04cb67351893894dfb9fbcd25e62fa2.tar.xz
linux-e874f9f8e04cb67351893894dfb9fbcd25e62fa2.zip
svcrpc: explicitly reject compounds that are not padded out to 4-byte multiple
We have a WARN_ON in the nfsd4_decode_write() that tells us when the client has sent a request that is not padded out properly according to RFC4506. A WARN_ON really isn't appropriate in this case though since this indicates a client bug, not a server one. Move this check out to the top-level compound decoder and have it just explicitly return an error. Also add a dprintk() that shows the client address and xid to help track down clients and frames that trigger it. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/acl.h')
0 files changed, 0 insertions, 0 deletions