get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 563645,
    "url": "http://patchwork.ozlabs.org/api/patches/563645/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1452033039-18970-1-git-send-email-3chas3@gmail.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": "<1452033039-18970-1-git-send-email-3chas3@gmail.com>",
    "list_archive_url": null,
    "date": "2016-01-05T22:30:39",
    "name": "[net-next] ixgbe: Extend trust to allow guest to set unicast address",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "fbd81c4831802b1b5262b384ca83086033dc8a48",
    "submitter": {
        "id": 66128,
        "url": "http://patchwork.ozlabs.org/api/people/66128/?format=api",
        "name": "Chas Williams",
        "email": "3chas3@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/1452033039-18970-1-git-send-email-3chas3@gmail.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/563645/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/563645/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\tby ozlabs.org (Postfix) with ESMTP id 2FCC21402A1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Jan 2016 09:30:54 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id ED7888A1ED;\n\tTue,  5 Jan 2016 22:30:52 +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 qJuO8ubZ7b-d; Tue,  5 Jan 2016 22:30:49 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id EF576896BD;\n\tTue,  5 Jan 2016 22:30:48 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id EAD4F1C1112\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  5 Jan 2016 22:30:47 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id E4A2232C3D\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  5 Jan 2016 22:30:47 +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 0cwcYrwRJw2q for <intel-wired-lan@lists.osuosl.org>;\n\tTue,  5 Jan 2016 22:30:47 +0000 (UTC)",
            "from mail-qg0-f49.google.com (mail-qg0-f49.google.com\n\t[209.85.192.49])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 2E60132BD3\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  5 Jan 2016 22:30:47 +0000 (UTC)",
            "by mail-qg0-f49.google.com with SMTP id e32so199964274qgf.3\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 05 Jan 2016 14:30:47 -0800 (PST)",
            "from monolith.home (pool-173-66-34-64.washdc.fios.verizon.net.\n\t[173.66.34.64]) by smtp.gmail.com with ESMTPSA id\n\t32sm39453838qgp.49.2016.01.05.14.30.45\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 05 Jan 2016 14:30:45 -0800 (PST)"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com header.b=vLMLtZle;\n\tdkim-atps=neutral",
        "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=20120113;\n\th=from:to:cc:subject:date:message-id;\n\tbh=BKdF6dibyk+nmnYPn5nWxUYcykiJzJkoa17AvX4gjSQ=;\n\tb=vLMLtZleFCFeasuRkkmeAphMVYZx4bTDOMWZ8pOEs1G2h/KaTmQpseFyDurZy0cIm6\n\txdEsqxr06+0+cGIbnbxzZnOLnBW3u29HyI6Q5/hpkf6A4iMWRoVb9PgGS1jGU0vijaPL\n\t1xXB9peaaBjXPBoIrrCQWXHvVifkWsKgyuVTayxvlKinIMVEjjcTgpCmEIcwQD0wwz0E\n\tArsN7Zo7r8h2a/NHFPY5V1ze7sAnjGIRUtUaE6pvKUDY7IUGarFZXckD6ljc27w6/bWz\n\tFL1q3DqcXD9EhszE/E70qAY3eWupBcQf8aYqbE2gjgOeCWMWdtGHbdzyc191y/Y/8Lhk\n\tlMTQ==",
        "X-Received": "by 10.140.28.161 with SMTP id 30mr122858102qgz.36.1452033046242; \n\tTue, 05 Jan 2016 14:30:46 -0800 (PST)",
        "From": "Chas Williams <3chas3@gmail.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Tue,  5 Jan 2016 17:30:39 -0500",
        "Message-Id": "<1452033039-18970-1-git-send-email-3chas3@gmail.com>",
        "X-Mailer": "git-send-email 2.5.0",
        "Cc": "netdev@vger.kernel.org",
        "Subject": "[Intel-wired-lan] [PATCH net-next] ixgbe: Extend trust to allow\n\tguest to set unicast address",
        "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": "When running certain routing protocols like VRRP, VF guests need the\nability to set the unicast address of the interface.  Extend the new ndo\ntrust feature to let the hypervisor trust a guest to set/update its own\nunicast address.\n\nSigned-off-by: Chas Williams <3chas3@gmail.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c\nindex eeff3d0..63cff17 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c\n@@ -887,7 +887,7 @@ static int ixgbe_set_vf_mac_addr(struct ixgbe_adapter *adapter,\n \t\treturn -1;\n \t}\n \n-\tif (adapter->vfinfo[vf].pf_set_mac &&\n+\tif (adapter->vfinfo[vf].pf_set_mac && !adapter->vfinfo[vf].trusted &&\n \t    !ether_addr_equal(adapter->vfinfo[vf].vf_mac_addresses, new_mac)) {\n \t\te_warn(drv,\n \t\t       \"VF %d attempted to override administratively set MAC address\\n\"\n",
    "prefixes": [
        "net-next"
    ]
}