get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 16258,
    "url": "https://patches.dpdk.org/api/patches/16258/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20160929205639.1175-2-johndale@cisco.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": "<20160929205639.1175-2-johndale@cisco.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20160929205639.1175-2-johndale@cisco.com",
    "date": "2016-09-29T20:56:37",
    "name": "[dpdk-dev,2/4] net/enic: fix segfault when restarting with fdir filters",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "6edfd4a1ad83db1e0180f7366cd743a233612c90",
    "submitter": {
        "id": 359,
        "url": "https://patches.dpdk.org/api/people/359/?format=api",
        "name": "John Daley (johndale)",
        "email": "johndale@cisco.com"
    },
    "delegate": {
        "id": 10,
        "url": "https://patches.dpdk.org/api/users/10/?format=api",
        "username": "bruce",
        "first_name": "Bruce",
        "last_name": "Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20160929205639.1175-2-johndale@cisco.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/16258/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/16258/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 F03AC568A;\n\tThu, 29 Sep 2016 22:57:01 +0200 (CEST)",
            "from alln-iport-4.cisco.com (alln-iport-4.cisco.com\n\t[173.37.142.91]) by dpdk.org (Postfix) with ESMTP id 3AE5529CD\n\tfor <dev@dpdk.org>; Thu, 29 Sep 2016 22:56:59 +0200 (CEST)",
            "from rcdn-core-6.cisco.com ([173.37.93.157])\n\tby alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t29 Sep 2016 20:56:58 +0000",
            "from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48])\n\tby rcdn-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id u8TKuwmq027418;\n\tThu, 29 Sep 2016 20:56:58 GMT",
            "by cisco.com (Postfix, from userid 392789)\n\tid 2E1F43FAAE0D; Thu, 29 Sep 2016 13:56:58 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n\td=cisco.com; i=@cisco.com; l=752; q=dns/txt; s=iport;\n\tt=1475182619; x=1476392219;\n\th=from:to:cc:subject:date:message-id:in-reply-to: references;\n\tbh=/9zCJqszcrEcpMfn7Q0Pm+CsNS/39OpM82eNazg9g0w=;\n\tb=isGVwDWXI6fQ8HwwPQTcFDXWbYu5WDic3DZGtOCLNLeQVACMzZviazWs\n\tvAOmrqJWoLZ4IXDJRtmUvjLSc+x7RsOQISOVNzs54nyDVGuUIT/KhkHs7\n\tLCSAhitl3h5PZ9QXXoiFEJ3BBu6MhbtOCFnbqv1CRePTnBNCHeG8lrM1m A=;",
        "X-IronPort-AV": "E=Sophos;i=\"5.31,417,1473120000\"; d=\"scan'208\";a=\"329024593\"",
        "From": "John Daley <johndale@cisco.com>",
        "To": "bruce.richardson@intel.com",
        "Cc": "dev@dpdk.org, John Daley <johndale@cisco.com>",
        "Date": "Thu, 29 Sep 2016 13:56:37 -0700",
        "Message-Id": "<20160929205639.1175-2-johndale@cisco.com>",
        "X-Mailer": "git-send-email 2.10.0",
        "In-Reply-To": "<20160929205639.1175-1-johndale@cisco.com>",
        "References": "<20160929205639.1175-1-johndale@cisco.com>",
        "Subject": "[dpdk-dev] [PATCH 2/4] net/enic: fix segfault when restarting with\n\tfdir filters",
        "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": "When flow director filters where removed when an enic device is\nstopped, the filters were freed but the pointer was not set to\nNULL so the next stop would try to free them again.\n\nFixes: fefed3d1e62c (\"enic: new driver\")\n\nSigned-off-by: John Daley <johndale@cisco.com>\n---\n drivers/net/enic/enic_clsf.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/net/enic/enic_clsf.c b/drivers/net/enic/enic_clsf.c\nindex b251b7f..111b194 100644\n--- a/drivers/net/enic/enic_clsf.c\n+++ b/drivers/net/enic/enic_clsf.c\n@@ -240,6 +240,7 @@ void enic_clsf_destroy(struct enic *enic)\n \t\t\tvnic_dev_classifier(enic->vdev, CLSF_DEL,\n \t\t\t\t&key->fltr_id, NULL);\n \t\t\trte_free(key);\n+\t\t\tenic->fdir.nodes[index] = NULL;\n \t\t}\n \t}\n \n",
    "prefixes": [
        "dpdk-dev",
        "2/4"
    ]
}