]> 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)
committerWilly Tarreau <w@1wt.eu>
Fri, 18 Sep 2015 11:52:10 +0000 (13:52 +0200)
commit8a156fbcb0f05278c765666ef06bb79c5a853500
treef0c387dcf120b65ff09f974f2cb7f144d722ca7c
parentea4a2f8c1ea6df6617c21171bea27a89cd3b272c
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>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
(cherry picked from commit bd031759bcc0865938ecc52846a3f22f2a26ad8e)

Signed-off-by: Willy Tarreau <w@1wt.eu>
net/sunrpc/backchannel_rqst.c