1
linux/fs/nfsd
NeilBrown 7775f4c85d [PATCH] knfsd: Correct reserved reply space for read requests.
NFSd makes sure there is enough space to hold the maximum possible reply
before accepting a request.  The units for this maximum is (4byte) words.
However in three places, particularly for read request, the number given is
a number of bytes.

This means too much space is reserved which is slightly wasteful.

This is the sort of patch that could uncover a deeper bug, and it is not
critical, so it would be best for it to spend a while in -mm before going
in to mainline.

(akpm: target 2.6.17-rc2, 2.6.16.3 (approx))

Discovered-by: "Eivind  Sarto" <ivan@kasenna.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-04-11 06:18:51 -07:00
..
auth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
export.c [PATCH] fs/nfsd/export.c,net/sunrpc/cache.c: make needlessly global code static 2006-03-27 08:44:43 -08:00
lockd.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] knfsd: nfsd4: reboot hash 2005-06-24 00:06:33 -07:00
nfs2acl.c [PATCH] nfsd: check for read-only exports before setting acls 2005-12-20 10:31:33 -08:00
nfs3acl.c [PATCH] nfsd: check for read-only exports before setting acls 2005-12-20 10:31:33 -08:00
nfs3proc.c [PATCH] knfsd: Correct reserved reply space for read requests. 2006-04-11 06:18:51 -07:00
nfs3xdr.c [PATCH] knfsd: check error status from vfs_getattr and i_op->fsync 2006-01-06 08:33:59 -08:00
nfs4acl.c [PATCH] fs: Use ARRAY_SIZE macro 2006-03-24 07:33:19 -08:00
nfs4callback.c Merge git://git.linux-nfs.org/pub/linux/nfs-2.6 2006-03-25 09:18:27 -08:00
nfs4idmap.c [PATCH] knfsd: Convert sunrpc_cache to use krefs 2006-03-27 08:44:43 -08:00
nfs4proc.c [PATCH] knfsd: Correct reserved reply space for read requests. 2006-04-11 06:18:51 -07:00
nfs4recover.c [PATCH] nfsd4: recovery lookup dir check 2006-01-18 19:20:26 -08:00
nfs4state.c [PATCH] NFSD4: return conflict lock without races 2006-03-26 08:56:56 -08:00
nfs4xdr.c [PATCH] fs: Use ARRAY_SIZE macro 2006-03-24 07:33:19 -08:00
nfscache.c [PATCH] kfree cleanup: fs 2005-11-07 07:54:06 -08:00
nfsctl.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
nfsfh.c [PATCH] knfsd: Convert sunrpc_cache to use krefs 2006-03-27 08:44:43 -08:00
nfsproc.c [PATCH] knfsd: Correct reserved reply space for read requests. 2006-04-11 06:18:51 -07:00
nfssvc.c [PATCH] fs: Use ARRAY_SIZE macro 2006-03-24 07:33:19 -08:00
nfsxdr.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
stats.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
vfs.c [PATCH] mark f_ops const in the inode 2006-03-28 09:16:05 -08:00