]> 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)
commit8c9ffa7ffc920f8d7ff85b1d27c80cf6214aa54d
tree39fccf3a8cd1e2d9af0c9f1321436952e12ec80b
parent0fba7c9f48dfcc4b4f03adfcfb175813d01f492a
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