Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/117067/?format=api
http://patches.dpdk.org/api/patches/117067/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220928155811.25016-1-arkadiuszx.kusztal@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20220928155811.25016-1-arkadiuszx.kusztal@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220928155811.25016-1-arkadiuszx.kusztal@intel.com", "date": "2022-09-28T15:58:10", "name": "[1/2] crypto/qat: fix uncleared cookies in asym", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "962e0ab9d2e5b961d9daca8c3ab1be6b7722b182", "submitter": { "id": 452, "url": "http://patches.dpdk.org/api/people/452/?format=api", "name": "Arkadiusz Kusztal", "email": "arkadiuszx.kusztal@intel.com" }, "delegate": { "id": 6690, "url": "http://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220928155811.25016-1-arkadiuszx.kusztal@intel.com/mbox/", "series": [ { "id": 24884, "url": "http://patches.dpdk.org/api/series/24884/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24884", "date": "2022-09-28T15:58:10", "name": "[1/2] crypto/qat: fix uncleared cookies in asym", "version": 1, "mbox": "http://patches.dpdk.org/series/24884/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/117067/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/117067/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 9F299A00C4;\n\tWed, 28 Sep 2022 19:07:20 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 384044113C;\n\tWed, 28 Sep 2022 19:07:20 +0200 (CEST)", "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id 631F3410FA\n for <dev@dpdk.org>; Wed, 28 Sep 2022 19:07:18 +0200 (CEST)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Sep 2022 10:07:17 -0700", "from silpixa00399302.ir.intel.com ([10.237.214.136])\n by fmsmga004.fm.intel.com with ESMTP; 28 Sep 2022 10:07:15 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1664384838; x=1695920838;\n h=from:to:cc:subject:date:message-id;\n bh=cjAqaZ9Jtrv+W0QMV6TDGhDynVg1L4lGe+aXZ6wtGuo=;\n b=oH1RsLG9zIrQd8azSCzmiSXV7n/1KwWmtPe9QH5j4j3noHk5cJXVyg5X\n yCjk5UgJtLmGznwEVIn1FEvjIP5R+/QB/Ncszw6wFYFESeEVWw+3kljUN\n RiGQPdzYjE6fhim3azSxnxdEPS4LsUWZCg7/xGtUmUZSsOQJlemOkPX79\n JUmpEvuHgxm3FIOBCsDJlBzVQD/Z1SmvZEaInanVipyVrAmYWsJo+FG4g\n qWDlmiNg2u04bi8mswadu6OMZVh9ZDKbIQRKkxDUr/RNH7eip6zr5TFKa\n xikYdMRw94p/ST43w/HiJLCg6wSjTNAeOdwl/stO6f/KBk/3z7Vko3DjE g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10484\"; a=\"281376319\"", "E=Sophos;i=\"5.93,352,1654585200\"; d=\"scan'208\";a=\"281376319\"", "E=McAfee;i=\"6500,9779,10484\"; a=\"690470404\"", "E=Sophos;i=\"5.93,352,1654585200\"; d=\"scan'208\";a=\"690470404\"" ], "X-ExtLoop1": "1", "From": "Arek Kusztal <arkadiuszx.kusztal@intel.com>", "To": "dev@dpdk.org", "Cc": "gakhil@marvell.com, kai.ji@intel.com,\n Arek Kusztal <arkadiuszx.kusztal@intel.com>", "Subject": "[PATCH 1/2] crypto/qat: fix uncleared cookies in asym", "Date": "Wed, 28 Sep 2022 16:58:10 +0100", "Message-Id": "<20220928155811.25016-1-arkadiuszx.kusztal@intel.com>", "X-Mailer": "git-send-email 2.13.6", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Fixed incorrectly placed clean function in asym response.\n\nFixes: 002486db239e (\"crypto/qat: refactor asymmetric session\")\n\nSigned-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>\n---\n drivers/crypto/qat/qat_asym.c | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/crypto/qat/qat_asym.c b/drivers/crypto/qat/qat_asym.c\nindex 19931791c4..4b0538eea8 100644\n--- a/drivers/crypto/qat/qat_asym.c\n+++ b/drivers/crypto/qat/qat_asym.c\n@@ -906,6 +906,8 @@ qat_asym_process_response(void **out_op, uint8_t *resp,\n \t\t\t\t\t\" returned error\");\n \t\t}\n \t}\n+\tif (op->status == RTE_CRYPTO_OP_STATUS_ERROR)\n+\t\tgoto finalize;\n \n \tswitch (op->sess_type) {\n \tcase RTE_CRYPTO_OP_WITH_SESSION:\n@@ -923,9 +925,10 @@ qat_asym_process_response(void **out_op, uint8_t *resp,\n \tif (op->status == RTE_CRYPTO_OP_STATUS_NOT_PROCESSED) {\n \t\top->status = qat_asym_collect_response(op,\n \t\t\t\t\tcookie, xform);\n-\t\tcleanup(cookie, xform, cookie->alg_bytesize);\n \t}\n \n+finalize:\n+\tcleanup(cookie, xform, cookie->alg_bytesize);\n \t*out_op = op;\n \tHEXDUMP(\"resp_msg:\", resp_msg, sizeof(struct icp_qat_fw_pke_resp));\n \n", "prefixes": [ "1/2" ] }{ "id": 117067, "url": "