]> git.baikalelectronics.ru Git - kernel.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)
commit650339ee17c8c52d59a16436b3c0b3cbd20d94eb
tree39fccf3a8cd1e2d9af0c9f1321436952e12ec80b
parent891d5430e477cbb1e4c16b187b6bf6618cbba9b5
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