get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 68760,
    "url": "http://patches.dpdk.org/api/patches/68760/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200417131410.1343135-3-aconole@redhat.com/",
    "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": "<20200417131410.1343135-3-aconole@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200417131410.1343135-3-aconole@redhat.com",
    "date": "2020-04-17T13:14:09",
    "name": "[v5,2/3] ip_frag: ensure minimum v6 fragmentation length",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c5ff7a89f761882e4f6ed7202c28a4fdd889d422",
    "submitter": {
        "id": 332,
        "url": "http://patches.dpdk.org/api/people/332/?format=api",
        "name": "Aaron Conole",
        "email": "aconole@redhat.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200417131410.1343135-3-aconole@redhat.com/mbox/",
    "series": [
        {
            "id": 9463,
            "url": "http://patches.dpdk.org/api/series/9463/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=9463",
            "date": "2020-04-17T13:14:08",
            "name": "ip_frag: add a unit test for fragmentation",
            "version": 5,
            "mbox": "http://patches.dpdk.org/series/9463/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/68760/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/68760/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id CB692A058A;\n\tFri, 17 Apr 2020 15:14:41 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E0B211E880;\n\tFri, 17 Apr 2020 15:14:32 +0200 (CEST)",
            "from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com\n [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id 0918F1E86A\n for <dev@dpdk.org>; Fri, 17 Apr 2020 15:14:24 +0200 (CEST)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-76-8FXtX0_TMr-Sri0V0BUgFw-1; Fri, 17 Apr 2020 09:14:23 -0400",
            "from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com\n [10.5.11.11])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9C45E10CE798;\n Fri, 17 Apr 2020 13:14:21 +0000 (UTC)",
            "from dhcp-25.97.bos.redhat.com (ovpn-116-136.phx2.redhat.com\n [10.3.116.136])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 97A7B12656C;\n Fri, 17 Apr 2020 13:14:20 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1587129264;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=ySmD6kl7ExPqqqkcTbICwDmORzFFSWFQLrjVU8SVA9c=;\n b=PLlbrICmWFDknbxd1KQIolR355CP730gdoSqBvQd33RB3KG/7dTxvDn28s8y4/hV9bzzUB\n rpWpru4uAg34xenxw1YPjTfuJqGiDpx1D6miTjUX/re8n5nXpc6ERvMZQXnpa7aL5CyOS0\n rcbfGnupcRf6PDpAdpbxOB12kyFVE2Q=",
        "X-MC-Unique": "8FXtX0_TMr-Sri0V0BUgFw-1",
        "From": "Aaron Conole <aconole@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "Konstantin Ananyev <konstantin.ananyev@intel.com>,\n Pavan Nikhilesh <pbhagavatula@marvell.com>,\n Bruce Richardson <bruce.richardson@intel.com>,\n David Marchand <david.marchand@redhat.com>,\n Ferruh Yigit <ferruh.yigit@intel.com>,\n Anatoly Burakov <anatoly.burakov@intel.com>,\n Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>",
        "Date": "Fri, 17 Apr 2020 09:14:09 -0400",
        "Message-Id": "<20200417131410.1343135-3-aconole@redhat.com>",
        "In-Reply-To": "<20200417131410.1343135-1-aconole@redhat.com>",
        "References": "<20200415172547.1421587-1-aconole@redhat.com>\n <20200417131410.1343135-1-aconole@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.11",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Type": "text/plain; charset=US-ASCII",
        "Content-Transfer-Encoding": "quoted-printable",
        "Subject": "[dpdk-dev] [PATCH v5 2/3] ip_frag: ensure minimum v6 fragmentation\n\tlength",
        "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "In addition, do a formal parameter check.\n\nAcked-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>\nSigned-off-by: Aaron Conole <aconole@redhat.com>\n---\n lib/librte_ip_frag/rte_ipv6_fragmentation.c | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/lib/librte_ip_frag/rte_ipv6_fragmentation.c b/lib/librte_ip_frag/rte_ipv6_fragmentation.c\nindex 43449970e5..ee984aed82 100644\n--- a/lib/librte_ip_frag/rte_ipv6_fragmentation.c\n+++ b/lib/librte_ip_frag/rte_ipv6_fragmentation.c\n@@ -79,6 +79,15 @@ rte_ipv6_fragment_packet(struct rte_mbuf *pkt_in,\n \tuint16_t fragment_offset, frag_size;\n \tuint64_t frag_bytes_remaining;\n \n+\t/*\n+\t * Formal parameter checking.\n+\t */\n+\tif (unlikely(pkt_in == NULL) || unlikely(pkts_out == NULL) ||\n+\t    unlikely(nb_pkts_out == 0) ||\n+\t    unlikely(pool_direct == NULL) || unlikely(pool_indirect == NULL) ||\n+\t    unlikely(mtu_size < 1280))\n+\t\treturn -EINVAL;\n+\n \t/*\n \t * Ensure the IP payload length of all fragments (except the\n \t * the last fragment) are a multiple of 8 bytes per RFC2460.\n",
    "prefixes": [
        "v5",
        "2/3"
    ]
}