get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 706272,
    "url": "http://patchwork.ozlabs.org/api/patches/706272/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1481802034-77729-1-git-send-email-chenweilong@huawei.com/",
    "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": "<1481802034-77729-1-git-send-email-chenweilong@huawei.com>",
    "list_archive_url": null,
    "date": "2016-12-15T11:40:34",
    "name": "[net-next] ixgbevf: fix 'Etherleak' in ixgbevf",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "7b375b0374dd7b4a95aab8c042cfbca5aea72663",
    "submitter": {
        "id": 45211,
        "url": "http://patchwork.ozlabs.org/api/people/45211/?format=api",
        "name": "chenweilong",
        "email": "chenweilong@huawei.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/1481802034-77729-1-git-send-email-chenweilong@huawei.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/706272/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/706272/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@lists.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"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\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 3tfnTX16PDz9t1B\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 16 Dec 2016 09:01:35 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id D836485BA3;\n\tThu, 15 Dec 2016 22:01:32 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id f2nvRqytkySk; Thu, 15 Dec 2016 22:01:31 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 238B285C35;\n\tThu, 15 Dec 2016 22:01:31 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 400E21C01A0\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 15 Dec 2016 11:42:22 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 3822C22F5C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 15 Dec 2016 11:42:22 +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 OPM+RhNf07nc for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 15 Dec 2016 11:42:19 +0000 (UTC)",
            "from szxga01-in.huawei.com (szxga01-in.huawei.com [58.251.152.64])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 5FD1722F4F\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 15 Dec 2016 11:42:18 +0000 (UTC)",
            "from 172.24.1.47 (EHLO szxeml432-hub.china.huawei.com)\n\t([172.24.1.47])\n\tby szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued)\n\twith ESMTP id DWM50017; Thu, 15 Dec 2016 19:34:46 +0800 (CST)",
            "from localhost (10.175.101.78) by szxeml432-hub.china.huawei.com\n\t(10.82.67.209) with Microsoft SMTP Server id 14.3.235.1;\n\tThu, 15 Dec 2016 19:34:40 +0800"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "delayed 00:06:21 by SQLgrey-1.7.6",
        "From": "Weilong Chen <chenweilong@huawei.com>",
        "To": "<jeffrey.t.kirsher@intel.com>",
        "Date": "Thu, 15 Dec 2016 19:40:34 +0800",
        "Message-ID": "<1481802034-77729-1-git-send-email-chenweilong@huawei.com>",
        "X-Mailer": "git-send-email 2.5.0",
        "MIME-Version": "1.0",
        "X-Originating-IP": "[10.175.101.78]",
        "X-CFilter-Loop": "Reflected",
        "X-Mailman-Approved-At": "Thu, 15 Dec 2016 22:01:30 +0000",
        "Cc": "netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org,\n\tlinux-kernel@vger.kernel.org",
        "Subject": "[Intel-wired-lan] [PATCH net-next] ixgbevf: fix 'Etherleak' in\n\tixgbevf",
        "X-BeenThere": "intel-wired-lan@lists.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.lists.osuosl.org>",
        "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>",
        "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>"
    },
    "content": "Nessus report the vf appears to leak memory in network packets.\nFix this by padding all small packets manually.\n\nAnd the CVE-2003-0001.\nhttps://ofirarkin.files.wordpress.com/2008/11/atstake_etherleak_report.pdf\n\nSigned-off-by: Weilong Chen <chenweilong@huawei.com>\n---\n drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c\nindex 6d4bef5..137a154 100644\n--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c\n+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c\n@@ -3654,6 +3654,13 @@ static int ixgbevf_xmit_frame(struct sk_buff *skb, struct net_device *netdev)\n \t\treturn NETDEV_TX_OK;\n \t}\n \n+\t/* On PCI/PCI-X HW, if packet size is less than ETH_ZLEN,\n+\t * packets may get corrupted during padding by HW.\n+\t * To WA this issue, pad all small packets manually.\n+\t */\n+\tif (eth_skb_pad(skb))\n+\t\treturn NETDEV_TX_OK;\n+\n \ttx_ring = adapter->tx_ring[skb->queue_mapping];\n \n \t/* need: 1 descriptor per page * PAGE_SIZE/IXGBE_MAX_DATA_PER_TXD,\n",
    "prefixes": [
        "net-next"
    ]
}