get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 675275,
    "url": "http://patchwork.ozlabs.org/api/patches/675275/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1474876278-28640-1-git-send-email-nicolas.dichtel@6wind.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": "<1474876278-28640-1-git-send-email-nicolas.dichtel@6wind.com>",
    "list_archive_url": null,
    "date": "2016-09-26T07:51:18",
    "name": "[net,v2] i40e: fix call of ndo_dflt_bridge_getlink()",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "4cbc3db5c47fee7d6bff28011b1898a5eabc1674",
    "submitter": {
        "id": 2036,
        "url": "http://patchwork.ozlabs.org/api/people/2036/?format=api",
        "name": "Nicolas Dichtel",
        "email": "nicolas.dichtel@6wind.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/1474876278-28640-1-git-send-email-nicolas.dichtel@6wind.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/675275/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/675275/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 silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 3sjWwD6BSSz9s4x\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 27 Sep 2016 04:00:28 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 6FD9B3176A;\n\tMon, 26 Sep 2016 18:00:26 +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 NeSil8miqRUR; Mon, 26 Sep 2016 18:00:23 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 87B8531256;\n\tMon, 26 Sep 2016 18:00:23 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id D48DC1C2125\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 26 Sep 2016 07:59:05 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id CEE4A8A0E7\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 26 Sep 2016 07:59:05 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id ghpeH5dIy2+u for <intel-wired-lan@lists.osuosl.org>;\n\tMon, 26 Sep 2016 07:59:04 +0000 (UTC)",
            "from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com\n\t[62.23.145.76])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 8EA4E8A0C3\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 26 Sep 2016 07:59:04 +0000 (UTC)",
            "from elsass.dev.6wind.com (unknown [10.16.0.149])\n\tby proxy.6wind.com (Postfix) with ESMTPS id 86FDD2565C;\n\tMon, 26 Sep 2016 09:51:33 +0200 (CEST)",
            "from root by elsass.dev.6wind.com with local (Exim 4.84_2)\n\t(envelope-from <root@elsass.dev.6wind.com>)\n\tid 1boQhF-0007TB-G0; Mon, 26 Sep 2016 09:51:29 +0200"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "delayed 00:07:24 by SQLgrey-1.7.6",
        "From": "Nicolas Dichtel <nicolas.dichtel@6wind.com>",
        "To": "davem@davemloft.net,\n\tjeffrey.t.kirsher@intel.com",
        "Date": "Mon, 26 Sep 2016 09:51:18 +0200",
        "Message-Id": "<1474876278-28640-1-git-send-email-nicolas.dichtel@6wind.com>",
        "X-Mailer": "git-send-email 2.8.1",
        "X-Mailman-Approved-At": "Mon, 26 Sep 2016 18:00:22 +0000",
        "Cc": "netdev@vger.kernel.org, Huaibin Wang <huaibin.wang@6wind.com>,\n\tintel-wired-lan@lists.osuosl.org,\n\tNicolas Dichtel <nicolas.dichtel@6wind.com>",
        "Subject": "[Intel-wired-lan] [PATCH net v2] i40e: fix call of\n\tndo_dflt_bridge_getlink()",
        "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>",
        "MIME-Version": "1.0",
        "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": "From: Huaibin Wang <huaibin.wang@6wind.com>\n\nOrder of arguments is wrong.\nThe wrong code has been introduced by commit 7d4f8d871ab1, but is compiled\nonly since commit 9df70b66418e.\n\nNote that this may break netlink dumps.\n\nFixes: 9df70b66418e (\"i40e: Remove incorrect #ifdef's\")\nFixes: 7d4f8d871ab1 (\"switchdev; add VLAN support for port's bridge_getlink\")\nCC: Carolyn Wyborny <carolyn.wyborny@intel.com>\nSigned-off-by: Huaibin Wang <huaibin.wang@6wind.com>\nSigned-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>\n---\n\nv1 -> v2\n - remove CC\n - rebase on the last net tree\n\n drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c\nindex d0b3a1bb82ca..2843f6cae97a 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_main.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c\n@@ -9012,7 +9012,7 @@ static int i40e_ndo_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq,\n \t\treturn 0;\n \n \treturn ndo_dflt_bridge_getlink(skb, pid, seq, dev, veb->bridge_mode,\n-\t\t\t\t       nlflags, 0, 0, filter_mask, NULL);\n+\t\t\t\t       0, 0, nlflags, filter_mask, NULL);\n }\n \n /* Hardware supports L4 tunnel length of 128B (=2^7) which includes\n",
    "prefixes": [
        "net",
        "v2"
    ]
}