38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
From 74b537ecc4ce7115869658749bed5a9b43ead093 Mon Sep 17 00:00:00 2001
|
|
From: Robbie Harwood <rharwood@redhat.com>
|
|
Date: Thu, 23 Mar 2017 13:42:55 -0400
|
|
Subject: [PATCH] Remove gpm_release_ctx() to fix double unlock
|
|
|
|
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
|
|
Reviewed-by: Simo Sorce <simo@redhat.com>
|
|
Merges: #173
|
|
(cherry picked from commit b50a863b20649b80cc44c88aa325c6c3220af61b)
|
|
---
|
|
proxy/src/client/gpm_common.c | 6 ------
|
|
1 file changed, 6 deletions(-)
|
|
|
|
diff --git a/proxy/src/client/gpm_common.c b/proxy/src/client/gpm_common.c
|
|
index 0a54dbc..1366463 100644
|
|
--- a/proxy/src/client/gpm_common.c
|
|
+++ b/proxy/src/client/gpm_common.c
|
|
@@ -312,11 +312,6 @@ static struct gpm_ctx *gpm_get_ctx(void)
|
|
return &gpm_global_ctx;
|
|
}
|
|
|
|
-static void gpm_release_ctx(struct gpm_ctx *gpmctx)
|
|
-{
|
|
- gpm_release_sock(gpmctx);
|
|
-}
|
|
-
|
|
OM_uint32 gpm_release_buffer(OM_uint32 *minor_status,
|
|
gss_buffer_t buffer)
|
|
{
|
|
@@ -502,7 +497,6 @@ done:
|
|
xdr_free((xdrproc_t)xdr_gp_rpc_msg, (char *)&msg);
|
|
xdr_destroy(&xdr_call_ctx);
|
|
xdr_destroy(&xdr_reply_ctx);
|
|
- gpm_release_ctx(gpmctx);
|
|
return ret;
|
|
}
|
|
|