diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-02-11 13:56:54 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-02-11 13:56:54 -0500 |
commit | 628356791b04ea988fee070f66a748a823d001bb (patch) | |
tree | fa4606e35088798f303b0103b1dedae2a446beec /net/sunrpc/xprtsock.c | |
parent | 06ea0bfe6e6043cb56a78935a19f6f8ebc636226 (diff) | |
download | op-kernel-dev-628356791b04ea988fee070f66a748a823d001bb.zip op-kernel-dev-628356791b04ea988fee070f66a748a823d001bb.tar.gz |
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>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
0 files changed, 0 insertions, 0 deletions