meta-starlingx: remove the upstream layer
[pti/rtp.git] / meta-starlingx / meta-stx-distro / recipes-security / gssproxy / files / Remove-gpm_release_ctx-to-fix-double-unlock.patch
diff --git a/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Remove-gpm_release_ctx-to-fix-double-unlock.patch b/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Remove-gpm_release_ctx-to-fix-double-unlock.patch
deleted file mode 100644 (file)
index cce478c..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-From 9e2bdfeee30331254d21eaf9e9c000fb9e642fe9 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 8c96986..69f4741 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)
- {
-@@ -503,7 +498,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;
- }