From: Trond Myklebust Date: Tue, 11 Feb 2014 18:56:54 +0000 (-0500) Subject: SUNRPC: Fix potential memory scribble in xprt_free_bc_request() X-Git-Tag: v3.14-rc4~26^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=628356791b04ea988fee070f66a748a823d001bb;p=pandora-kernel.git SUNRPC: Fix potential memory scribble in xprt_free_bc_request() The call to xprt_free_allocation() will call list_del() on req->rq_bc_pa_list, which is not attached to a list. This patch moves the list_del() out of xprt_free_allocation() and into those callers that need it. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed