rpc: fix gss_svc_init cleanup on failure
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 12 Aug 2021 20:41:42 +0000 (16:41 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:29 +0000 (13:40 +0200)
commitc53c68c9bf2a8543046360a1e75589f00c032d1a
treea1b664cbbe10d7a8e92a8bba3fe515ec78d33209
parent4b1b4d3f45dffaaee29456f696aa38889ce5f001
rpc: fix gss_svc_init cleanup on failure

[ Upstream commit 5a4753446253a427c0ff1e433b9c4933e5af207c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/sunrpc/auth_gss/svcauth_gss.c