From: J. Bruce Fields Date: Tue, 21 Mar 2006 04:23:11 +0000 (-0500) Subject: SUNRPC,RPCSEC_GSS: remove unnecessary kmalloc of a checksum X-Git-Tag: v2.6.17-rc1~667^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e57b302cf0f27063184196def620f39ca7a5fc6;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed