commit | 628356791b04ea988fee070f66a748a823d001bb | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Tue Feb 11 13:56:54 2014 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Tue Feb 11 13:56:54 2014 -0500 |
tree | fa4606e35088798f303b0103b1dedae2a446beec | |
parent | 06ea0bfe6e6043cb56a78935a19f6f8ebc636226 [diff] |
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 <trond.myklebust@primarydata.com>