]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
SUNRPC: fix xprt leak on xps allocation failure
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 20 May 2016 21:07:17 +0000 (17:07 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 15 Jun 2016 14:32:25 +0000 (10:32 -0400)
commit1208fd569c07ab84aa5d024abd863267c2953b4a
tree39fccf3a8cd1e2d9af0c9f1321436952e12ec80b
parenteee930163c6a2507aa3b41edf8f7e3b7a2049769
SUNRPC: fix xprt leak on xps allocation failure

Callers of rpc_create_xprt expect it to put the xprt on success and
failure.

Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Acked-by: Trond Myklebust <trondmy@primarydata.com>
net/sunrpc/clnt.c