mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-18 02:46:06 +00:00
rpc: fix gss_svc_init cleanup on failure
The failure case here should be rare, but it's obviously wrong. Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
parent
b4ab2fea7c
commit
5a47534462
@ -1980,7 +1980,7 @@ gss_svc_init_net(struct net *net)
|
||||
goto out2;
|
||||
return 0;
|
||||
out2:
|
||||
destroy_use_gss_proxy_proc_entry(net);
|
||||
rsi_cache_destroy_net(net);
|
||||
out1:
|
||||
rsc_cache_destroy_net(net);
|
||||
return rv;
|
||||
|
Loading…
x
Reference in New Issue
Block a user