get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/71226/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 71226,
    "url": "https://patches.dpdk.org/api/patches/71226/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1591853907-2501-5-git-send-email-adwivedi@marvell.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<1591853907-2501-5-git-send-email-adwivedi@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1591853907-2501-5-git-send-email-adwivedi@marvell.com",
    "date": "2020-06-11T05:38:24",
    "name": "[4/7] crypto/octeontx2: set session private data",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "5d68868642c48a48a61d5caf2e40f19df9f7669d",
    "submitter": {
        "id": 1561,
        "url": "https://patches.dpdk.org/api/people/1561/?format=api",
        "name": "Ankur Dwivedi",
        "email": "adwivedi@marvell.com"
    },
    "delegate": {
        "id": 6690,
        "url": "https://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1591853907-2501-5-git-send-email-adwivedi@marvell.com/mbox/",
    "series": [
        {
            "id": 10399,
            "url": "https://patches.dpdk.org/api/series/10399/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10399",
            "date": "2020-06-11T05:38:20",
            "name": "test/crypto: use generic crypto auto test framework",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/10399/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/71226/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/71226/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 57658A04A3;\n\tThu, 11 Jun 2020 07:39:30 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id DA0452C30;\n\tThu, 11 Jun 2020 07:39:29 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id E12B311A4\n for <dev@dpdk.org>; Thu, 11 Jun 2020 07:39:28 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n 05B5UFnR016871; Wed, 10 Jun 2020 22:39:28 -0700",
            "from sc-exch03.marvell.com ([199.233.58.183])\n by mx0b-0016f401.pphosted.com with ESMTP id 31gannh5xn-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 10 Jun 2020 22:39:28 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH03.marvell.com\n (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Wed, 10 Jun 2020 22:39:26 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Wed, 10 Jun 2020 22:39:26 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Wed, 10 Jun 2020 22:39:26 -0700",
            "from hyd1349.t110.caveonetworks.com (unknown [10.29.45.13])\n by maili.marvell.com (Postfix) with ESMTP id 5EC143F704B;\n Wed, 10 Jun 2020 22:39:24 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-type; s=pfpt0818; bh=MYe/maIaTPyDTGADcRw4efLMCWM2kXvpXInZ24/M7Y4=;\n b=bkPN4UAIMNTeoTU2NgRaFpnmU4bwuxMLYUNJfI5yXYwmPsvSnP+LWzHNCAf+JafMbMOq\n v8yPE9bV95CEOCIHnzpbK7pQR3tniuIigSI+kwu2rqKhp3t7JrVdYISCdY0nx43ETa9w\n eVENQjokHzCBDoBTlAivvb8d9X4G46vwTV2EPxCe6vFnqUCRORsTsgEQab81gRmW4vpH\n a4k+iWGLkYmkWVg0etM6KJ7v/JXA1emR5QSNylYwc2afXKF305VIIhtPHmoi72uZSYVI\n Lh+ewrCNIDJlX2+k/EvpchRwk0CNLfESBcDtVl9JzlLkgBkBrFvfmkYGoRUwHQ3r5m2T qg==",
        "From": "Ankur Dwivedi <adwivedi@marvell.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<declan.doherty@intel.com>, <akhil.goyal@nxp.com>, <anoobj@marvell.com>,\n Ankur Dwivedi <adwivedi@marvell.com>",
        "Date": "Thu, 11 Jun 2020 11:08:24 +0530",
        "Message-ID": "<1591853907-2501-5-git-send-email-adwivedi@marvell.com>",
        "X-Mailer": "git-send-email 1.9.3",
        "In-Reply-To": "<1591853907-2501-1-git-send-email-adwivedi@marvell.com>",
        "References": "<1591853907-2501-1-git-send-email-adwivedi@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.216, 18.0.687\n definitions=2020-06-11_03:2020-06-10,\n 2020-06-11 signatures=0",
        "Subject": "[dpdk-dev] [PATCH 4/7] crypto/octeontx2: set session private data",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "This patch sets the first 32 bytes of session private data\nto zero. This prevents garbage data to be used in code logic.\n\nSigned-off-by: Ankur Dwivedi <adwivedi@marvell.com>\n---\n drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/crypto/octeontx2/otx2_cryptodev_ops.c b/drivers/crypto/octeontx2/otx2_cryptodev_ops.c\nindex ad292a0..c0aed61 100644\n--- a/drivers/crypto/octeontx2/otx2_cryptodev_ops.c\n+++ b/drivers/crypto/octeontx2/otx2_cryptodev_ops.c\n@@ -364,6 +364,9 @@\n \t\treturn -ENOMEM;\n \t}\n \n+\tmemset(priv, 0, sizeof(struct cpt_sess_misc) +\n+\t\t\toffsetof(struct cpt_ctx, fctx));\n+\n \tmisc = priv;\n \n \tfor ( ; xform != NULL; xform = xform->next) {\n",
    "prefixes": [
        "4/7"
    ]
}