This is a note to let you know that I've just added the patch titled nfsd4: fix setclientid encode size to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: nfsd4-fix-setclientid-encode-size.patch and it can be found in the queue-3.14 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 480efaee085235bb848f1063f959bf144103c342 Mon Sep 17 00:00:00 2001 From: "J. Bruce Fields" <bfields@xxxxxxxxxx> Date: Mon, 10 Mar 2014 14:17:55 -0400 Subject: nfsd4: fix setclientid encode size From: "J. Bruce Fields" <bfields@xxxxxxxxxx> commit 480efaee085235bb848f1063f959bf144103c342 upstream. Signed-off-by: J. Bruce Fields <bfields@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- fs/nfsd/nfs4proc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c @@ -1529,7 +1529,8 @@ static inline u32 nfsd4_setattr_rsize(st static inline u32 nfsd4_setclientid_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) { - return (op_encode_hdr_size + 2 + 1024) * sizeof(__be32); + return (op_encode_hdr_size + 2 + XDR_QUADLEN(NFS4_VERIFIER_SIZE)) * + sizeof(__be32); } static inline u32 nfsd4_write_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) Patches currently in stable-queue which might be from bfields@xxxxxxxxxx are queue-3.14/nfsd4-fix-test_stateid-error-reply-encoding.patch queue-3.14/nfsd4-leave-reply-buffer-space-for-failed-setattr.patch queue-3.14/nfsd4-fix-setclientid-encode-size.patch queue-3.14/nfsd-set-timeparms.to_maxval-in-setup_callback_client.patch queue-3.14/nfsd4-fix-memory-leak-in-nfsd4_encode_fattr.patch queue-3.14/nfsd4-session-needs-room-for-following-op-to-error-out.patch queue-3.14/nfsd4-buffer-length-check-for-suppattr_exclcreat.patch queue-3.14/nfsd-check-passed-socket-s-net-matches-nfsd-superblock-s-one.patch queue-3.14/nfsd-notify_change-needs-elevated-write-count.patch queue-3.14/nfsd-revert-v2-half-of-nfsd-don-t-return-high-mode-bits.patch queue-3.14/nfsd-traverse-unconfirmed-client-through-hash-table.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html