]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Aug 2015 16:29:47 +0000 (09:29 -0700)
commit13d0b6aae666e69c0156a3c6d1b6116a2e64078a
tree29e3dbb1ad1b2673837476c64f9a0c07a943080c
parent0e22b367fec937512336958053ddb3ffe1db92d3
SUNRPC: Fix a memory leak in the backchannel code

commit 88de6af24f2b48b06c514d3c3d0a8f22fafe30bd upstream.

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

Fixes: fb7a0b9addbdb ("nfs41: New backchannel helper routines")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sunrpc/backchannel_rqst.c