linux/net/sunrpc
J. Bruce Fields 9e57b302cf SUNRPC,RPCSEC_GSS: remove unnecessary kmalloc of a checksum
Remove unnecessary kmalloc of temporary space to hold the md5 result; it's
small enough to just put on the stack.

This code may be called to process rpc's necessary to perform writes, so
there's a potential deadlock whenever we kmalloc() here.  After this a
couple kmalloc()'s still remain, to be removed soon.

This also fixes a rare double-free on error noticed by coverity.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2006-03-20 23:23:11 -05:00
..
auth_gss SUNRPC,RPCSEC_GSS: remove unnecessary kmalloc of a checksum 2006-03-20 23:23:11 -05:00
auth_null.c [PATCH] RPC: Eliminate socket.h includes in RPC client 2005-09-23 12:38:23 -04:00
auth_unix.c SUNRPC: Fix a lock recursion in the auth_gss downcall 2006-02-01 12:52:23 -05:00
auth.c SUNRPC: Auto-load RPC authentication kernel modules 2006-03-20 13:44:08 -05:00
cache.c [NET]: Change some "if (x) BUG();" to "BUG_ON(x);" 2006-01-09 14:16:18 -08:00
clnt.c SUNRPC: Ensure rpc_call_async() always calls tk_ops->rpc_release() 2006-03-20 18:11:10 -05:00
Makefile [PATCH] RPC: introduce client-side transport switch 2005-09-23 12:38:12 -04:00
pmap_clnt.c SUNRPC: eliminate rpc_call() 2006-03-20 13:44:23 -05:00
rpc_pipe.c SUNRPC: Fix a 'Busy inodes' error in rpc_pipefs 2006-03-20 13:44:49 -05:00
sched.c SUNRPC: Ensure rpc_call_async() always calls tk_ops->rpc_release() 2006-03-20 18:11:10 -05:00
socklib.c [NET]: Detect hardware rx checksum faults correctly 2005-11-10 13:01:24 -08:00
stats.c SUNRPC: fix compile warnings on 64-bit platforms 2006-03-20 13:44:42 -05:00
sunrpc_syms.c SUNRPC: Get rid of some unused exports 2006-01-06 14:58:41 -05:00
svc.c [NET]: Remove more unneeded typecasts on *malloc() 2006-01-11 16:32:14 -08:00
svcauth_unix.c [PATCH] knfsd: fix hash function for IP addresses on 64bit little-endian machines. 2006-01-06 08:33:21 -08:00
svcauth.c [PATCH] sunrpc: cache_register can use wrong module reference 2005-09-07 16:57:25 -07:00
svcsock.c [PATCH] svcrpc: save and restore the daddr field when request deferred 2006-01-18 19:20:24 -08:00
sysctl.c SUNRPC: allow sunrpc.o to link when CONFIG_SYSCTL is disabled 2005-11-04 15:39:45 -05:00
timer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xdr.c SUNRPC: net/sunrpc/xdr.c: remove xdr_decode_string() 2006-01-06 14:58:53 -05:00
xprt.c SUNRPC: Fix memory barriers for req->rq_received 2006-03-20 13:44:51 -05:00
xprtsock.c SUNRPC: introduce per-task RPC iostats 2006-03-20 13:44:17 -05:00