]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/sunrpc/backchannel_rqst.c
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)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 2 Jun 2015 12:55:28 +0000 (08:55 -0400)
commit88de6af24f2b48b06c514d3c3d0a8f22fafe30bd
tree2262a29d3f000359db78e9eee63c644e251d88bb
parent13985b1f77d09623f4114ce2d57e69a027ed9a09
SUNRPC: Fix a memory leak in the backchannel code

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>
net/sunrpc/backchannel_rqst.c