]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
SUNRPC: Fix a memory leak in the backchannel code
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 1 Jun 2015 19:10:25 +0000 (15:10 -0400)
committerSasha Levin <sasha.levin@oracle.com>
Sat, 4 Jul 2015 03:02:23 +0000 (23:02 -0400)
commit30548c7e5eb7e1e65016f3540f8eb0aa5ac235dd
tree0425eadc58df2800a26896d18b595e7086b9aabc
parentd5057382fde844979b3c8b5786232a66522c6dd9
SUNRPC: Fix a memory leak in the backchannel code

[ Upstream commit 88de6af24f2b48b06c514d3c3d0a8f22fafe30bd ]

req->rq_private_buf isn't initialised when xprt_setup_backchannel calls
xprt_free_allocation.

Fixes: fb7a0b9addbdb ("nfs41: New backchannel helper routines")
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
net/sunrpc/backchannel_rqst.c