get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 60080,
    "url": "http://patches.dpdk.org/api/patches/60080/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190928003758.18489-2-stephen@networkplumber.org/",
    "project": {
        "id": 1,
        "url": "http://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": "<20190928003758.18489-2-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190928003758.18489-2-stephen@networkplumber.org",
    "date": "2019-09-28T00:37:54",
    "name": "[1/5] mbuf: don't generate invalid mbuf in clone test",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "341ddfaa23a28153f592afba122bbc6f91b9c86d",
    "submitter": {
        "id": 27,
        "url": "http://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190928003758.18489-2-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 6597,
            "url": "http://patches.dpdk.org/api/series/6597/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6597",
            "date": "2019-09-28T00:37:53",
            "name": "mbuf related patches",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/6597/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/60080/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/60080/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 3A54C1B9B5;\n\tSat, 28 Sep 2019 02:38:07 +0200 (CEST)",
            "from mail-pl1-f193.google.com (mail-pl1-f193.google.com\n\t[209.85.214.193]) by dpdk.org (Postfix) with ESMTP id F40C22C4F\n\tfor <dev@dpdk.org>; Sat, 28 Sep 2019 02:38:03 +0200 (CEST)",
            "by mail-pl1-f193.google.com with SMTP id s17so1684532plp.6\n\tfor <dev@dpdk.org>; Fri, 27 Sep 2019 17:38:03 -0700 (PDT)",
            "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n\tby smtp.gmail.com with ESMTPSA id\n\tt13sm3494942pfh.12.2019.09.27.17.38.01\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 27 Sep 2019 17:38:02 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=Q4INw0jXclEiki3qquDLRi7spTdZl6ftU0aD9i1ySi8=;\n\tb=jRiYQxjPWDwdvbmcAadyjKzeHVxUiL8r1f1b9uu6BQx87RihhSSMHNkVs1dK+fijbu\n\tsuBysOFWBiMt3ikTjslfELulpdHaXCoIP3ozt8UG+HVYL9zxXYwthEUTjGF4vBYvpWZA\n\tYjQQOlK1BAK1BUPHFQ6ZQOqKa9ZZob1FEnZWUnAHuFmH3b75cmru4PyZWtYaogIJndU4\n\t+M6rZwdHwwY7xAtwHEa9fQ+Ym8dnSZCMkWkb8ZFYESAwFptKGihDWuer/2dcX/kYcmMW\n\tCgLnNIlNbWnp4S5wlq4uEUO4fMjWUEJU6V6UeYlgOSO6u12XZBiay4IeT30plv/B3n4g\n\tL1zA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=Q4INw0jXclEiki3qquDLRi7spTdZl6ftU0aD9i1ySi8=;\n\tb=kyPx2vzY3nu9JCMjUPbwuGnyL4W2LzCsxPPMGCZAlNlEzTeSexNXyoo7WOjcJKXEJr\n\txPO3g558mYI7OJQaT5oYr6L/fVwZUCnLbsBYjpyEa6VsXwq6oxREp3FxaKJmhyRr71Ft\n\tMG4K3eLfLNm0I7763UHo8/TzYIQNL6RXRIMEsICpeIoiCC8+BRjOXymNZVB2UdLJ5SAY\n\tThgHmuTs8f6YdWzfcd9+gk+CfszM3LlMqrrUnBgKo2GekfvBRDWoSAco/MVLR7iDahiA\n\tQjbJ7JZKqoCSdAy6mFI086iAVUg3MGsRjBtQD8cwBfpgm9l9NVFZHWDBf/gsIJTKponx\n\t8Drw==",
        "X-Gm-Message-State": "APjAAAXt4DKr1n8ye24KeCdwC3WqGOx8kMhLPOJDJbHsqZ8xpSlP7pvs\n\t3Oh2XlmHtFjbqfrGlW6PynBKP+WcxnM=",
        "X-Google-Smtp-Source": "APXvYqwrVnGFXoCshKNBcioxvSoM7q+b/jPon8DcoUgOXCRyCQUd9e4NWXjoY+Mlh/WXozqnP3oqyg==",
        "X-Received": "by 2002:a17:902:aa4a:: with SMTP id\n\tc10mr7556185plr.340.1569631082571; \n\tFri, 27 Sep 2019 17:38:02 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>",
        "Date": "Fri, 27 Sep 2019 17:37:54 -0700",
        "Message-Id": "<20190928003758.18489-2-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20190928003758.18489-1-stephen@networkplumber.org>",
        "References": "<20190928003758.18489-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 1/5] mbuf: don't generate invalid mbuf in clone\n\ttest",
        "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": "The test for cloning changed mbuf would generate an mbuf\nwhose length and segments were invalid. This would cause a crash\nif test was run with mbuf debugging enabled.\n\nFixes: f1022aba76a5 (\"app/test: rename mbuf variable\")\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n app/test/test_mbuf.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c\nindex 2a97afe2044a..aafad0cf6206 100644\n--- a/app/test/test_mbuf.c\n+++ b/app/test/test_mbuf.c\n@@ -332,8 +332,11 @@ testclone_testupdate_testdetach(struct rte_mempool *pktmbuf_pool)\n \tm->next = rte_pktmbuf_alloc(pktmbuf_pool);\n \tif (m->next == NULL)\n \t\tGOTO_FAIL(\"Next Pkt Null\\n\");\n+\tm->nb_segs = 2;\n \n \trte_pktmbuf_append(m->next, sizeof(uint32_t));\n+\tm->pkt_len = 2 * sizeof(uint32_t);\n+\n \tdata = rte_pktmbuf_mtod(m->next, unaligned_uint32_t *);\n \t*data = MAGIC_DATA;\n \n",
    "prefixes": [
        "1/5"
    ]
}