get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 125097,
    "url": "https://patches.dpdk.org/api/patches/125097/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230314124813.39521-1-fengchengwen@huawei.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": "<20230314124813.39521-1-fengchengwen@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230314124813.39521-1-fengchengwen@huawei.com",
    "date": "2023-03-14T12:48:08",
    "name": "[0/5] fix segment fault when parse args",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 2146,
        "url": "https://patches.dpdk.org/api/people/2146/?format=api",
        "name": "fengchengwen",
        "email": "fengchengwen@huawei.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230314124813.39521-1-fengchengwen@huawei.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/125097/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/125097/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 4EB9A41E28;\n\tTue, 14 Mar 2023 13:54:54 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 287E740F18;\n\tTue, 14 Mar 2023 13:54:54 +0100 (CET)",
            "from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188])\n by mails.dpdk.org (Postfix) with ESMTP id F2AFA40A7E\n for <dev@dpdk.org>; Tue, 14 Mar 2023 13:54:51 +0100 (CET)",
            "from dggpeml500024.china.huawei.com (unknown [172.30.72.56])\n by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4PbYLb6KVRzSl0C;\n Tue, 14 Mar 2023 20:51:35 +0800 (CST)",
            "from localhost.localdomain (10.50.163.32) by\n dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2507.21; Tue, 14 Mar 2023 20:54:49 +0800"
        ],
        "From": "Chengwen Feng <fengchengwen@huawei.com>",
        "To": "<thomas@monjalon.net>, <ferruh.yigit@amd.com>",
        "CC": "<dev@dpdk.org>",
        "Subject": "[PATCH 0/5] fix segment fault when parse args",
        "Date": "Tue, 14 Mar 2023 12:48:08 +0000",
        "Message-ID": "<20230314124813.39521-1-fengchengwen@huawei.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.50.163.32]",
        "X-ClientProxiedBy": "dggems705-chm.china.huawei.com (10.3.19.182) To\n dggpeml500024.china.huawei.com (7.185.36.10)",
        "X-CFilter-Loop": "Reflected",
        "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": "The rte_kvargs_process() was used to parse KV pairs, it also supports\nto parse 'only keys' (e.g. socket_id) type. And the callback function \nparameter 'value' is NULL when parsed 'only keys'.\n\nIt may leads to segment fault when parse args with 'only key', this \npatchset fixes rest of them.\n\nChengwen Feng (5):\n  app/pdump: fix segment fault when parse args\n  net/memif: fix segment fault when parse devargs\n  net/pcap: fix segment fault when parse devargs\n  net/ring: fix segment fault when parse devargs\n  net/sfc: fix segment fault when parse devargs\n\n app/pdump/main.c                  | 12 ++++++++++++\n drivers/net/memif/rte_eth_memif.c | 30 ++++++++++++++++++++++++++++++\n drivers/net/pcap/pcap_ethdev.c    | 13 +++++++++++--\n drivers/net/ring/rte_eth_ring.c   |  6 ++++++\n drivers/net/sfc/sfc.c             |  3 +++\n drivers/net/sfc/sfc_ev.c          |  3 +++\n drivers/net/sfc/sfc_kvargs.c      |  6 ++++++\n 7 files changed, 71 insertions(+), 2 deletions(-)",
    "diff": null,
    "prefixes": [
        "0/5"
    ]
}