Skip to content
Commit 1208fd56 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

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: default avatarJ. Bruce Fields <bfields@redhat.com>
Acked-by: default avatarTrond Myklebust <trondmy@primarydata.com>
parent eee93016
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment