linux_dsm_epyc7002/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
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
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
stats.c SUNRPC: fix compile warnings on 64-bit platforms 2006-03-20 13:44:42 -05:00
sunrpc_syms.c
svc.c [NET]: Remove more unneeded typecasts on *malloc() 2006-01-11 16:32:14 -08:00
svcauth_unix.c
svcauth.c
svcsock.c [PATCH] svcrpc: save and restore the daddr field when request deferred 2006-01-18 19:20:24 -08:00
sysctl.c
timer.c
xdr.c
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