kernel-ark/include/linux/sunrpc
J. Bruce Fields 6f54e2d0d3 [PATCH] knfsd: svcrpc: WARN() instead of returning an error from svc_take_page
Every caller of svc_take_page ignores its return value and assumes it
succeeded.  So just WARN() instead of returning an ignored error.  This would
have saved some time debugging a recent nfsd4 problem.

If there are still failure cases here, then the result is probably that we
overwrite an earlier part of the reply while xdr-encoding.

While the corrupted reply is a nasty bug, it would be worse to panic here and
create the possibility of a remote DOS; hence WARN() instead of BUG().

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Cc: Ingo Oeser <ioe-lkml@rameria.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-04-11 06:18:52 -07:00
..
auth_gss.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
auth.h SUNRPC: Remove obsolete rpcauth #defines 2006-02-01 12:52:25 -05:00
cache.h [PATCH] fs/nfsd/export.c,net/sunrpc/cache.c: make needlessly global code static 2006-03-27 08:44:43 -08:00
clnt.h SUNRPC: Fix a 'Busy inodes' error in rpc_pipefs 2006-03-20 13:44:49 -05:00
debug.h [PATCH] RPC: allow RPC client's port range to be adjustable 2005-09-23 12:38:50 -04:00
gss_api.h RPCSEC_GSS remove all qop parameters 2005-10-18 23:19:47 -07:00
gss_asn1.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gss_err.h RPCSEC_GSS remove all qop parameters 2005-10-18 23:19:47 -07:00
gss_krb5.h SUNRPC,RPCSEC_GSS: fix krb5 sequence numbers. 2006-03-20 23:24:04 -05:00
gss_spkm3.h SUNRPC: Update the spkm3 code to use the make_checksum interface 2006-01-06 14:58:59 -05:00
metrics.h SUNRPC: provide a mechanism for collecting stats in the RPC client 2006-03-20 13:44:22 -05:00
msg_prot.h [PATCH] RPC: skip over transport-specific heads automatically 2005-09-23 12:38:33 -04:00
rpc_pipe_fs.h SUNRPC: Fix a 'Busy inodes' error in rpc_pipefs 2006-03-20 13:44:49 -05:00
sched.h SUNRPC: eliminate rpc_call() 2006-03-20 13:44:23 -05:00
stats.h [PATCH] mark f_ops const in the inode 2006-03-28 09:16:05 -08:00
svc.h [PATCH] knfsd: svcrpc: WARN() instead of returning an error from svc_take_page 2006-04-11 06:18:52 -07:00
svcauth_gss.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
svcauth.h [PATCH] knfsd: Change the store of auth_domains to not be a 'cache' 2006-03-27 08:44:41 -08:00
svcsock.h [NET]: sem2mutex part 2 2006-03-20 22:35:41 -08:00
timer.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xdr.h SUNRPC: net/sunrpc/xdr.c: remove xdr_decode_string() 2006-01-06 14:58:53 -05:00
xprt.h SUNRPC: add a handful of per-xprt counters 2006-03-20 13:44:16 -05:00