get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 828977,
    "url": "http://patchwork.ozlabs.org/api/patches/828977/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20171022011222.12997.53593.stgit@localhost.localdomain/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20171022011222.12997.53593.stgit@localhost.localdomain>",
    "list_archive_url": null,
    "date": "2017-10-22T01:12:29",
    "name": "[jkirsher/net-queue] i40e: Add programming descriptors to cleaned_count",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "11408f28ed6cc62d61b97442ea9ae75d160584cb",
    "submitter": {
        "id": 252,
        "url": "http://patchwork.ozlabs.org/api/people/252/?format=api",
        "name": "Alexander Duyck",
        "email": "alexander.duyck@gmail.com"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20171022011222.12997.53593.stgit@localhost.localdomain/mbox/",
    "series": [
        {
            "id": 9500,
            "url": "http://patchwork.ozlabs.org/api/series/9500/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=9500",
            "date": "2017-10-22T01:12:29",
            "name": "[jkirsher/net-queue] i40e: Add programming descriptors to cleaned_count",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/9500/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/828977/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/828977/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"YUCZjQAI\"; dkim-atps=neutral"
        ],
        "Received": [
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yKM2r4JrMz9t2V\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 22 Oct 2017 12:12:36 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 14E8B88045;\n\tSun, 22 Oct 2017 01:12:35 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id THT9n8RtxG5x; Sun, 22 Oct 2017 01:12:33 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id E14B187FEB;\n\tSun, 22 Oct 2017 01:12:33 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 529831C0AEA\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSun, 22 Oct 2017 01:12:33 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 4907B2A148\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSun, 22 Oct 2017 01:12:33 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id gFv5pnAc40Jw for <intel-wired-lan@lists.osuosl.org>;\n\tSun, 22 Oct 2017 01:12:32 +0000 (UTC)",
            "from mail-it0-f65.google.com (mail-it0-f65.google.com\n\t[209.85.214.65])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 999F42666B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSun, 22 Oct 2017 01:12:32 +0000 (UTC)",
            "by mail-it0-f65.google.com with SMTP id n195so2405883itg.2\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 21 Oct 2017 18:12:32 -0700 (PDT)",
            "from localhost.localdomain ([2001:470:b:9c3:9e5c:8eff:fe4f:f2d0])\n\tby smtp.gmail.com with ESMTPSA id\n\tw96sm1886401ioe.76.2017.10.21.18.12.31\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 21 Oct 2017 18:12:31 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:from:to:date:message-id:user-agent:mime-version\n\t:content-transfer-encoding;\n\tbh=TIZOwssSGyGtiTET6EqesZjx49WTUIGCgKKcsjVDWZ0=;\n\tb=YUCZjQAIZK00pDYDcFHFuh0e+x0oaP1I98SBLglIFg/04V0Xm3nqE4z9JzL9nHvf5v\n\tRaFy7z8QoLqDGiFahxNLxBZow7AMb3s07UG+RUDvvDY5l763MaG23/LFaGgCvtYDB4d0\n\tizak/SRthRLg1br8Mn6wMpUrn62dW6vihcdcqsnh0w808fZ+TBAnRp1RLNeRTpuqpOAB\n\tYdEPdEyYcXXcrLmzqoa/rANAlGACBC/M7AoRuDRgNpw0pEhP8p8ko3cKQcS0JVEf2w5U\n\tBuSw/8ILzH7sDRxgL0mgk9ijhF1UqvRQVAi/EgIZz3Wqc35WgF9ICva9zAPHwBYUzfve\n\ttYHw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:from:to:date:message-id:user-agent\n\t:mime-version:content-transfer-encoding;\n\tbh=TIZOwssSGyGtiTET6EqesZjx49WTUIGCgKKcsjVDWZ0=;\n\tb=AWppLrKyvP3XeInYXbpmvLrds0SahpWf5vjDirWQcoDYCu+8yV/6MOInPOjt/uwVM+\n\t1KyJBv8eJWB7i2iMWbAQdgLArrE7D21JwMfFeSD6qtHX5Q02gzme1Z+dJe5h0ILZBjzS\n\tZCGrNOszxc4KlL1632MpRD9E4PMGIPFmjPJku2acdGkdUxf7tHYPmfVDNbc8dH4uTz0d\n\tIYutFmlD3FbmyrIPaWdj710NaMxzUEOV9WqC7Hc3fShaHjVPxp39S3raGuXyEkxIFTyL\n\toumYa+ItXyNmLlvmvBFMeSZFBrkWeD18b7TboeAs1gRVzp3OdKTlUVluTflFETkbwhOG\n\tf78w==",
        "X-Gm-Message-State": "AMCzsaWxtw0uGT5vTWVtkZCzFLl06OAhgODdqMmrsasKTYyMDpuD1Vhq\n\tD9kmnLNyoV40TprEMlk8DlU=",
        "X-Google-Smtp-Source": "ABhQp+RJydri0noORcCzchlmqK+iLomFd5k3ewJYQlJ2DxOZaHblUrAgLyAQ5FSTrNfJQkmm2iAPNw==",
        "X-Received": "by 10.36.36.19 with SMTP id f19mr4008349ita.96.1508634751903;\n\tSat, 21 Oct 2017 18:12:31 -0700 (PDT)",
        "From": "Alexander Duyck <alexander.duyck@gmail.com>",
        "To": "netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org,\n\takp@cohaesio.com, pstaszewski@itcare.pl",
        "Date": "Sat, 21 Oct 2017 18:12:29 -0700",
        "Message-ID": "<20171022011222.12997.53593.stgit@localhost.localdomain>",
        "User-Agent": "StGit/0.17.1-dirty",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [jkirsher/net-queue PATCH] i40e: Add programming\n\tdescriptors to cleaned_count",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "From: Alexander Duyck <alexander.h.duyck@intel.com>\n\nThis patch updates the i40e driver to include programming descriptors in\nthe cleaned_count. Without this change it becomes possible for us to leak\nmemory as we don't trigger a large enough allocation when the time comes to\nallocate new buffers and we end up overwriting a number of rx_buffers equal\nto the number of programming descriptors we encountered.\n\nFixes: 0e626ff7ccbf (\"i40e: Fix support for flow director programming status\")\nSigned-off-by: Alexander Duyck <alexander.h.duyck@intel.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_txrx.c |    1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_txrx.c b/drivers/net/ethernet/intel/i40e/i40e_txrx.c\nindex 368722defacb..d6d352a6e6ea 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_txrx.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_txrx.c\n@@ -2102,6 +2102,7 @@ static int i40e_clean_rx_irq(struct i40e_ring *rx_ring, int budget)\n \n \t\tif (unlikely(i40e_rx_is_programming_status(qword))) {\n \t\t\ti40e_clean_programming_status(rx_ring, rx_desc, qword);\n+\t\t\tcleaned_count++;\n \t\t\tcontinue;\n \t\t}\n \t\tsize = (qword & I40E_RXD_QW1_LENGTH_PBUF_MASK) >>\n",
    "prefixes": [
        "jkirsher/net-queue"
    ]
}