summaryrefslogtreecommitdiff
path: root/net/sunrpc
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2021-08-12 23:41:42 +0300
committerChuck Lever <chuck.lever@oracle.com>2021-08-17 18:47:53 +0300
commit5a4753446253a427c0ff1e433b9c4933e5af207c (patch)
treed85bbec6576dd530dd234efb44d6a0302fd68fde /net/sunrpc
parentb4ab2fea7c797b0b8b92332c7e315703c12d37d8 (diff)
downloadlinux-5a4753446253a427c0ff1e433b9c4933e5af207c.tar.xz
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>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/auth_gss/svcauth_gss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/svcauth_gss.c b/net/sunrpc/auth_gss/svcauth_gss.c
index a81be45f40d9..3d685fe328fa 100644
--- a/net/sunrpc/auth_gss/svcauth_gss.c
+++ b/net/sunrpc/auth_gss/svcauth_gss.c
@@ -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;