X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-distro%2Frecipes-security%2Fgssproxy%2Ffiles%2FRemove-gpm_release_ctx-to-fix-double-unlock.patch;fp=meta-starlingx%2Fmeta-stx-distro%2Frecipes-security%2Fgssproxy%2Ffiles%2FRemove-gpm_release_ctx-to-fix-double-unlock.patch;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=cce478c840c083a4ed665f970c282420ed605171;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git 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 index cce478c..0000000 --- a/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Remove-gpm_release_ctx-to-fix-double-unlock.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 9e2bdfeee30331254d21eaf9e9c000fb9e642fe9 Mon Sep 17 00:00:00 2001 -From: Robbie Harwood -Date: Thu, 23 Mar 2017 13:42:55 -0400 -Subject: [PATCH] Remove gpm_release_ctx() to fix double unlock - -Signed-off-by: Robbie Harwood -Reviewed-by: Simo Sorce -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; - } -