get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 55865,
    "url": "http://patchwork.dpdk.org/api/patches/55865/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1562066494-25411-1-git-send-email-jananeex.m.parthasarathy@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<1562066494-25411-1-git-send-email-jananeex.m.parthasarathy@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1562066494-25411-1-git-send-email-jananeex.m.parthasarathy@intel.com",
    "date": "2019-07-02T11:21:34",
    "name": "lib/table: fix table autotest ut crashes in ipv6",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "4ceb44cd37454527b1c13e8f8dbf6fcecfb5486f",
    "submitter": {
        "id": 1024,
        "url": "http://patchwork.dpdk.org/api/people/1024/?format=api",
        "name": "Jananee Parthasarathy",
        "email": "jananeex.m.parthasarathy@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1562066494-25411-1-git-send-email-jananeex.m.parthasarathy@intel.com/mbox/",
    "series": [
        {
            "id": 5279,
            "url": "http://patchwork.dpdk.org/api/series/5279/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=5279",
            "date": "2019-07-02T11:21:34",
            "name": "lib/table: fix table autotest ut crashes in ipv6",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/5279/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/55865/comments/",
    "check": "fail",
    "checks": "http://patchwork.dpdk.org/api/patches/55865/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 C463D2C23;\n\tTue,  2 Jul 2019 13:22:29 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby dpdk.org (Postfix) with ESMTP id 9D9882BC8;\n\tTue,  2 Jul 2019 13:22:27 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t02 Jul 2019 04:22:26 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga004.fm.intel.com with ESMTP; 02 Jul 2019 04:22:25 -0700",
            "from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com\n\t[10.102.246.100])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tx62BMOY8015595; Tue, 2 Jul 2019 12:22:24 +0100",
            "from wgcvswdev001.ir.intel.com (localhost [127.0.0.1])\n\tby wgcvswdev001.ir.intel.com with ESMTP id x62BLulk025679;\n\tTue, 2 Jul 2019 12:21:56 +0100",
            "(from jmparthx@localhost)\n\tby wgcvswdev001.ir.intel.com with ? id x62BLuNt025675;\n\tTue, 2 Jul 2019 12:21:56 +0100"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.63,443,1557212400\"; d=\"scan'208\";a=\"186839958\"",
        "From": "Jananee Parthasarathy <jananeex.m.parthasarathy@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "reshma.pattan@intel.com, david.marchand@redhat.com,\n\tcristian.dumitrescu@intel.com, jasvinder.singh@intel.com,\n\tJananee Parthasarathy <jananeex.m.parthasarathy@intel.com>,\n\tstable@dpdk.org",
        "Date": "Tue,  2 Jul 2019 12:21:34 +0100",
        "Message-Id": "<1562066494-25411-1-git-send-email-jananeex.m.parthasarathy@intel.com>",
        "X-Mailer": "git-send-email 1.7.12.2",
        "Subject": "[dpdk-dev] [PATCH] lib/table: fix table autotest ut crashes in ipv6",
        "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": "Unit test table_autotest results in segmentation fault.\nCrash occurs in test_table_lpm_ipv6_combined().\n\nVariable 'nht_pos0' used as array subscript is not initialized\nin rte_table_lpm_ipv6_entry_add(). It will not be assigned,\nif a rule does not exist.\n\nIn such case a junk number or invalid array index might result in\nsegmentation fault due to array out of bounds when\nlpm->nht_users is used with such invalid array index.\n\nFix is to initialize the variables used for array subscript.\n\nFixes: d89a5bce1d (\"lpm6: extend next hop field\")\nCc: stable@dpdk.org\n\nSigned-off-by: Jananee Parthasarathy <jananeex.m.parthasarathy@intel.com>\n---\n lib/librte_table/rte_table_lpm_ipv6.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_table/rte_table_lpm_ipv6.c b/lib/librte_table/rte_table_lpm_ipv6.c\nindex a55f808a4..4e068d79b 100644\n--- a/lib/librte_table/rte_table_lpm_ipv6.c\n+++ b/lib/librte_table/rte_table_lpm_ipv6.c\n@@ -182,7 +182,7 @@ rte_table_lpm_ipv6_entry_add(\n \tstruct rte_table_lpm_ipv6 *lpm = table;\n \tstruct rte_table_lpm_ipv6_key *ip_prefix =\n \t\tkey;\n-\tuint32_t nht_pos, nht_pos0, nht_pos0_valid;\n+\tuint32_t nht_pos = 0, nht_pos0 = 0, nht_pos0_valid = 0;\n \tint status;\n \n \t/* Check input parameters */\n",
    "prefixes": []
}