Commit 5a475344 authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Chuck Lever

rpc: fix gss_svc_init cleanup on failure

The failure case here should be rare, but it's obviously wrong.
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent b4ab2fea
...@@ -1980,7 +1980,7 @@ gss_svc_init_net(struct net *net) ...@@ -1980,7 +1980,7 @@ gss_svc_init_net(struct net *net)
goto out2; goto out2;
return 0; return 0;
out2: out2:
destroy_use_gss_proxy_proc_entry(net); rsi_cache_destroy_net(net);
out1: out1:
rsc_cache_destroy_net(net); rsc_cache_destroy_net(net);
return rv; return rv;
......
Markdown is supported
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