get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 67581,
    "url": "https://patches.dpdk.org/api/patches/67581/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200401131849.2209336-3-aconole@redhat.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": "<20200401131849.2209336-3-aconole@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200401131849.2209336-3-aconole@redhat.com",
    "date": "2020-04-01T13:18:47",
    "name": "[v2,2/4] ip_frag: ensure minimum v6 fragmentation length",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "63c51f9faa1a37c793c60ac71442fea01958aa18",
    "submitter": {
        "id": 332,
        "url": "https://patches.dpdk.org/api/people/332/?format=api",
        "name": "Aaron Conole",
        "email": "aconole@redhat.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/20200401131849.2209336-3-aconole@redhat.com/mbox/",
    "series": [
        {
            "id": 9151,
            "url": "https://patches.dpdk.org/api/series/9151/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=9151",
            "date": "2020-04-01T13:18:45",
            "name": "ip_frag: add a unit test for fragmentation",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/9151/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/67581/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/67581/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 934E6A057B;\n\tWed,  1 Apr 2020 15:19:19 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C46B51BEAA;\n\tWed,  1 Apr 2020 15:19:06 +0200 (CEST)",
            "from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com\n [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id 77EF71BDAC\n for <dev@dpdk.org>; Wed,  1 Apr 2020 15:19:05 +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-447-Mg3eBJ45PGSrsnCEyJjUzA-1; Wed, 01 Apr 2020 09:19:01 -0400",
            "from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com\n [10.5.11.22])\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 5AD19800D4E;\n Wed,  1 Apr 2020 13:18:59 +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 0A6671001B07;\n Wed,  1 Apr 2020 13:18:57 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1585747144;\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=wb0D5HgZ66vFFP8s3SSRe6vjYfLc1IdHq3fIMPsHgZ0=;\n b=Zh9yleJfYnYkIMTjWELyt9oEHecUKYuEbdvPKthW8oCKZknY+uDlkER5O92glCKxD2CGGq\n DzxYtdFAp7Lge3SZ9F4kRRyDbTtgMafotFcbyVy8CH9XlabZ9DM9/v95ra//YV6SH9U7CC\n e3kyGqOEoUnHxK87jLBQjLB3NcMPCIc=",
        "X-MC-Unique": "Mg3eBJ45PGSrsnCEyJjUzA-1",
        "From": "Aaron Conole <aconole@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "Konstantin Ananyev <konstantin.ananyev@intel.com>,\n Sunil Kumar Kori <skori@marvell.com>,\n Allain Legacy <allain.legacy@windriver.com>,\n Anatoly Burakov <anatoly.burakov@intel.com>, Chas Williams <chas3@att.com>,\n Piotr Azarewicz <piotrx.t.azarewicz@intel.com>,\n Bruce Richardson <bruce.richardson@intel.com>,\n David Marchand <david.marchand@redhat.com>",
        "Date": "Wed,  1 Apr 2020 09:18:47 -0400",
        "Message-Id": "<20200401131849.2209336-3-aconole@redhat.com>",
        "In-Reply-To": "<20200401131849.2209336-1-aconole@redhat.com>",
        "References": "<20200331160714.697790-1-aconole@redhat.com>\n <20200401131849.2209336-1-aconole@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.84 on 10.5.11.22",
        "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 v2 2/4] 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": "Similar to v4, we should ensure that at least a minimum fragmentation\nlength can be achieved.\n\nSigned-off-by: Aaron Conole <aconole@redhat.com>\n---\n lib/librte_ip_frag/rte_ipv6_fragmentation.c | 11 +++++++++++\n 1 file changed, 11 insertions(+)",
    "diff": "diff --git a/lib/librte_ip_frag/rte_ipv6_fragmentation.c b/lib/librte_ip_frag/rte_ipv6_fragmentation.c\nindex 43449970e5..820a5dc725 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,17 @@ 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 * The rules on ipv6 fragmentation means we need at least to be\n+\t * greater than the smallest fragment possible - ipv6hdr + frag header\n+\t * + min octets.  We rely on the ipv6_extension_fragment header to\n+\t * include 'data' octets.\n+\t */\n+\tif (unlikely(mtu_size <\n+\t\t     (sizeof(struct rte_ipv6_hdr) +\n+\t\t      sizeof(struct ipv6_extension_fragment))))\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": [
        "v2",
        "2/4"
    ]
}