From: Tom Tucker Date: Mon, 5 Jan 2009 17:12:52 +0000 (-0600) Subject: svc: Move kfree of deferral record to common code X-Git-Tag: v2.6.29-rc1~177^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2779e3ae39645515cb6c1126634f47c28c9e7190;p=pandora-kernel.git svc: Move kfree of deferral record to common code The rqstp structure has a pointer to a svc_deferred_req record that is allocated when requests are deferred. This record is common to all transports and can be freed in common code. Move the kfree of the rq_deferred to the common svc_xprt_release function. This also fixes a memory leak in the RDMA transport which does not kfree the dr structure in it's version of the xpo_release_rqst callback. Signed-off-by: Tom Tucker Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed