get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 16961,
    "url": "https://patches.dpdk.org/api/patches/16961/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1478452574-127074-1-git-send-email-wenzhuo.lu@intel.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": "<1478452574-127074-1-git-send-email-wenzhuo.lu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1478452574-127074-1-git-send-email-wenzhuo.lu@intel.com",
    "date": "2016-11-06T17:16:14",
    "name": "[dpdk-dev] lib/ip_frag: fix IP reassembly not working issue",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a12390ad37e88e2a9cb664c393522dca336bb407",
    "submitter": {
        "id": 258,
        "url": "https://patches.dpdk.org/api/people/258/?format=api",
        "name": "Wenzhuo Lu",
        "email": "wenzhuo.lu@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1478452574-127074-1-git-send-email-wenzhuo.lu@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/16961/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/16961/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 891C12904;\n\tMon,  7 Nov 2016 02:25:23 +0100 (CET)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n\tby dpdk.org (Postfix) with ESMTP id DE1DF231C\n\tfor <dev@dpdk.org>; Mon,  7 Nov 2016 02:25:20 +0100 (CET)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n\tby orsmga104.jf.intel.com with ESMTP; 06 Nov 2016 17:25:19 -0800",
            "from dpdk26.sh.intel.com ([10.239.128.228])\n\tby fmsmga005.fm.intel.com with ESMTP; 06 Nov 2016 17:25:18 -0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.31,604,1473145200\"; d=\"scan'208\";a=\"28192511\"",
        "From": "Wenzhuo Lu <wenzhuo.lu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "adrien.mazarguil@6wind.com, konstantin.ananyev@intel.com,\n\tWenzhuo Lu <wenzhuo.lu@intel.com>",
        "Date": "Sun,  6 Nov 2016 12:16:14 -0500",
        "Message-Id": "<1478452574-127074-1-git-send-email-wenzhuo.lu@intel.com>",
        "X-Mailer": "git-send-email 1.9.3",
        "Subject": "[dpdk-dev] [PATCH] lib/ip_frag: fix IP reassembly not working issue",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "After changing pkt[0] to pkt[], the example IP reassembly is not\nworking.\nIt's weird because this change is fine. There should be no\ndifference between them.\nAs a workaround, revert this change.\n\nFixes: 347a1e037fd3 (lib: use C99 syntax for zero-size arrays)\n\nReported-by: Huilong Xu <huilongx.xu@intel.com>\nSigned-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>\n---\n lib/librte_ip_frag/rte_ip_frag.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_ip_frag/rte_ip_frag.h b/lib/librte_ip_frag/rte_ip_frag.h\nindex 69596ab..6708906 100644\n--- a/lib/librte_ip_frag/rte_ip_frag.h\n+++ b/lib/librte_ip_frag/rte_ip_frag.h\n@@ -124,7 +124,7 @@ struct rte_ip_frag_tbl {\n \tstruct ip_frag_pkt *last;         /**< last used entry. */\n \tstruct ip_pkt_list lru;           /**< LRU list for table entries. */\n \tstruct ip_frag_tbl_stat stat;     /**< statistics counters. */\n-\tstruct ip_frag_pkt pkt[];         /**< hash table. */\n+\t__extension__ struct ip_frag_pkt pkt[0]; /**< hash table. */\n };\n \n /** IPv6 fragment extension header */\n",
    "prefixes": [
        "dpdk-dev"
    ]
}