SUNRPC: Fix potential memory scribble in xprt_free_bc_request()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 11 Feb 2014 18:56:54 +0000 (13:56 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 11 Feb 2014 18:56:54 +0000 (13:56 -0500)
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>
net/sunrpc/backchannel_rqst.c

Simple merge