get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 45146,
    "url": "https://patches.dpdk.org/api/patches/45146/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180921162557.48249-1-paul.e.luse@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": "<20180921162557.48249-1-paul.e.luse@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180921162557.48249-1-paul.e.luse@intel.com",
    "date": "2018-09-21T16:25:57",
    "name": "vdev: free reply.msgs memory for secondary process",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "7eb237ba9758df22575bf3edea42790a06b90871",
    "submitter": {
        "id": 1133,
        "url": "https://patches.dpdk.org/api/people/1133/?format=api",
        "name": "Luse, Paul E",
        "email": "paul.e.luse@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180921162557.48249-1-paul.e.luse@intel.com/mbox/",
    "series": [
        {
            "id": 1447,
            "url": "https://patches.dpdk.org/api/series/1447/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1447",
            "date": "2018-09-21T16:25:57",
            "name": "vdev: free reply.msgs memory for secondary process",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/1447/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/45146/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/45146/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 51A821B109;\n\tFri, 21 Sep 2018 18:28:53 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id AEA495F48\n\tfor <dev@dpdk.org>; Fri, 21 Sep 2018 18:28:51 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t21 Sep 2018 09:28:50 -0700",
            "from pels-64.ch.intel.com ([143.182.136.79])\n\tby fmsmga005.fm.intel.com with ESMTP; 21 Sep 2018 09:25:18 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.54,285,1534834800\"; d=\"scan'208\";a=\"264638925\"",
        "From": "Paul Luse <paul.e.luse@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "paul luse <paul.e.luse@intel.com>",
        "Date": "Fri, 21 Sep 2018 12:25:57 -0400",
        "Message-Id": "<20180921162557.48249-1-paul.e.luse@intel.com>",
        "X-Mailer": "git-send-email 2.14.4",
        "Subject": "[dpdk-dev] [PATCH] vdev: free reply.msgs memory for secondary\n\tprocess",
        "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": "From: paul luse <paul.e.luse@intel.com>\n\nThis patch fixes an issue caught with ASAN where a vdev_scan()\nto a secondary bus was failing to free some memory.\n\nSigned-off-by: paul luse <paul.e.luse@intel.com>\n---\n drivers/bus/vdev/vdev.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/bus/vdev/vdev.c b/drivers/bus/vdev/vdev.c\nindex 69dee89a8..2566d6c0d 100644\n--- a/drivers/bus/vdev/vdev.c\n+++ b/drivers/bus/vdev/vdev.c\n@@ -423,6 +423,7 @@ vdev_scan(void)\n \t\t\tmp_rep = &mp_reply.msgs[0];\n \t\t\tresp = (struct vdev_param *)mp_rep->param;\n \t\t\tVDEV_LOG(INFO, \"Received %d vdevs\", resp->num);\n+\t\t\tfree(mp_reply.msgs);\n \t\t} else\n \t\t\tVDEV_LOG(ERR, \"Failed to request vdev from primary\");\n \n",
    "prefixes": []
}