get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 59639,
    "url": "https://patches.dpdk.org/api/patches/59639/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1569304125-5365-2-git-send-email-joyce.kong@arm.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": "<1569304125-5365-2-git-send-email-joyce.kong@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1569304125-5365-2-git-send-email-joyce.kong@arm.com",
    "date": "2019-09-24T05:48:44",
    "name": "[1/2] net/i40e: fix address of first segment",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "0f9fc5ca6eb26bee523da65e4bc86de0c892fa87",
    "submitter": {
        "id": 970,
        "url": "https://patches.dpdk.org/api/people/970/?format=api",
        "name": "Joyce Kong",
        "email": "joyce.kong@arm.com"
    },
    "delegate": {
        "id": 31221,
        "url": "https://patches.dpdk.org/api/users/31221/?format=api",
        "username": "yexl",
        "first_name": "xiaolong",
        "last_name": "ye",
        "email": "xiaolong.ye@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1569304125-5365-2-git-send-email-joyce.kong@arm.com/mbox/",
    "series": [
        {
            "id": 6495,
            "url": "https://patches.dpdk.org/api/series/6495/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=6495",
            "date": "2019-09-24T05:48:43",
            "name": "drivers/net: fix address of first segment",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/6495/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/59639/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/59639/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6D8A41BE84;\n\tTue, 24 Sep 2019 07:49:06 +0200 (CEST)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n\tby dpdk.org (Postfix) with ESMTP id 744231BE3D;\n\tTue, 24 Sep 2019 07:49:04 +0200 (CEST)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B87861576;\n\tMon, 23 Sep 2019 22:49:03 -0700 (PDT)",
            "from net-arm-thunderx2-01.test.ast.arm.com\n\t(net-arm-thunderx2-01.shanghai.arm.com [10.169.40.40])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\tBE95C3F59C; Mon, 23 Sep 2019 22:51:35 -0700 (PDT)"
        ],
        "From": "Joyce Kong <joyce.kong@arm.com>",
        "To": "dev@dpdk.org",
        "Cc": "nd@arm.com, thomas@monjalon.net, jerinj@marvell.com, xiao.zhang@intel.com,\n\tgavin.hu@arm.com, honnappa.nagarahalli@arm.com, stable@dpdk.org",
        "Date": "Tue, 24 Sep 2019 13:48:44 +0800",
        "Message-Id": "<1569304125-5365-2-git-send-email-joyce.kong@arm.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1569304125-5365-1-git-send-email-joyce.kong@arm.com>",
        "References": "<1569304125-5365-1-git-send-email-joyce.kong@arm.com>",
        "Subject": "[dpdk-dev] [PATCH 1/2] net/i40e: fix address of first segment",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "This patch fixes (dereference after null check) coverity issue.\nThe address of first segmented packets was not set correctly during\nreassembling packets which led to this issue.\n\nCoverity issue: 343422, 343403\nFixes: ca74903b75cf (\"net/i40e: extract non-x86 specific code from vector driver\")\nCc: stable@dpdk.org\n\nSigned-off-by: Joyce Kong <joyce.kong@arm.com>\n---\n drivers/net/i40e/i40e_rxtx_vec_neon.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/net/i40e/i40e_rxtx_vec_neon.c b/drivers/net/i40e/i40e_rxtx_vec_neon.c\nindex 864eb9a..deb185f 100644\n--- a/drivers/net/i40e/i40e_rxtx_vec_neon.c\n+++ b/drivers/net/i40e/i40e_rxtx_vec_neon.c\n@@ -474,6 +474,7 @@ i40e_recv_scattered_pkts_vec(void *rx_queue, struct rte_mbuf **rx_pkts,\n \t\t\ti++;\n \t\tif (i == nb_bufs)\n \t\t\treturn nb_bufs;\n+\t\trxq->pkt_first_seg = rx_pkts[i];\n \t}\n \treturn i + reassemble_packets(rxq, &rx_pkts[i], nb_bufs - i,\n \t\t&split_flags[i]);\n",
    "prefixes": [
        "1/2"
    ]
}