Blame SOURCES/Remove-gpm_release_ctx-to-fix-double-unlock.patch

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