get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 564173,
    "url": "http://patchwork.ozlabs.org/api/patches/564173/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160107064850.12239.83914.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": "<20160107064850.12239.83914.stgit@localhost.localdomain>",
    "list_archive_url": null,
    "date": "2016-01-07T06:48:50",
    "name": "[next,2/2] ixgbe: Avoid adding VLAN 0 twice to VLVF and VFTA",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "87294dfe707527e43ca90491fdc3ba1cd9953b4e",
    "submitter": {
        "id": 67293,
        "url": "http://patchwork.ozlabs.org/api/people/67293/?format=api",
        "name": "Alexander Duyck",
        "email": "aduyck@mirantis.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/20160107064850.12239.83914.stgit@localhost.localdomain/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/564173/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/564173/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\tby ozlabs.org (Postfix) with ESMTP id CB6DB1402C0\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Jan 2016 17:48:58 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 170C732D8D;\n\tThu,  7 Jan 2016 06:48:58 +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 QQ3CEJpQjSfo; Thu,  7 Jan 2016 06:48:57 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 0263431356;\n\tThu,  7 Jan 2016 06:48:57 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id AC4961C0866\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  7 Jan 2016 06:48:55 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id A798432D8B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  7 Jan 2016 06:48:55 +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 Us5BzTi8fk8t for <intel-wired-lan@lists.osuosl.org>;\n\tThu,  7 Jan 2016 06:48:55 +0000 (UTC)",
            "from mail-pa0-f47.google.com (mail-pa0-f47.google.com\n\t[209.85.220.47])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 036CD32D87\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  7 Jan 2016 06:48:54 +0000 (UTC)",
            "by mail-pa0-f47.google.com with SMTP id qh10so708090pab.2\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 06 Jan 2016 22:48:54 -0800 (PST)",
            "from localhost.localdomain\n\t(static-50-53-29-36.bvtn.or.frontiernet.net. [50.53.29.36])\n\tby smtp.gmail.com with ESMTPSA id\n\tud10sm149085961pab.27.2016.01.06.22.48.52\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 06 Jan 2016 22:48:53 -0800 (PST)"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=mirantis.com header.i=@mirantis.com\n\theader.b=BpZ6Psm+; dkim-atps=neutral",
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "from auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=mirantis.com;\n\ts=google; \n\th=subject:from:to:cc:date:message-id:in-reply-to:references\n\t:user-agent:mime-version:content-type:content-transfer-encoding;\n\tbh=DEJMGS4elLUo7xUWelX36pyvjs5bZUX+YwkiHRLGY9A=;\n\tb=BpZ6Psm+8s2VJyEstO7U7moroZXqmob50gbTTMjgT/sLRtwxEpvDy6RlXOdET/CU+S\n\tDGCSyN3Z+qwlxGZeS26Vn0YBrw67l4s7NU+ClhaZuN1CNwwljVatXd5ibrAUBUqzoEio\n\tgrTIz2+4ifB58BAmoBNgTQf/dUJWAvkH9RaKM=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:subject:from:to:cc:date:message-id:in-reply-to\n\t:references:user-agent:mime-version:content-type\n\t:content-transfer-encoding;\n\tbh=DEJMGS4elLUo7xUWelX36pyvjs5bZUX+YwkiHRLGY9A=;\n\tb=P4kMEfD0JvFmTy565RjoMPV6kDA7X3FVCyQzLbysjohIT6GvXHpiSv/vDqKaAr7BZl\n\te2H0dKj6g25D0tij/nJvpBcGtSNNiLDz5jWchJSLuvrgv17FxckqiZkUUdj6LzdP01q2\n\tJ8cCcxR/P08Fy7SOezNi3MzCrXoh2U6wNY+w25hnBqm2VGy89diK9VNm2qXfv9YH/O0z\n\tE8mRIBy/NHl+zrMDtRi9f8ugPgL2f6TF13F3dFpPUHOOhxJmq98CGmv/6rq8hQiLPMW6\n\tQKPr2cjkfpodq5CMFqDbGX6f4C0jtF1KMvgnjeBZSuyJS7m+pXGSkIt4RAogY+1+525q\n\t1P5w==",
        "X-Gm-Message-State": "ALoCoQlZlfCuYEeHBxZZ973Ve3zpEoXL+UNfi0sqZSq9oEt6bpLzjDNok9D0EZVbDkG86i8FkGrBlTqSFC3N8sH1TX8DkhRb9Q==",
        "X-Received": "by 10.66.150.37 with SMTP id uf5mr150924735pab.30.1452149334748; \n\tWed, 06 Jan 2016 22:48:54 -0800 (PST)",
        "From": "Alexander Duyck <aduyck@mirantis.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Wed, 06 Jan 2016 22:48:50 -0800",
        "Message-ID": "<20160107064850.12239.83914.stgit@localhost.localdomain>",
        "In-Reply-To": "<20160107064516.12239.98349.stgit@localhost.localdomain>",
        "References": "<20160107064516.12239.98349.stgit@localhost.localdomain>",
        "User-Agent": "StGit/0.17.1-dirty",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [next PATCH 2/2] ixgbe: Avoid adding VLAN 0 twice\n\tto VLVF and VFTA",
        "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": "We were adding VLAN 0 twice each time we restored the VLAN configuration.\nInstead of doing it twice we can just start working through the active\nVLANs from ID 1 on and skip the double write.\n\nSigned-off-by: Alexander Duyck <aduyck@mirantis.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |    4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\nindex 1f2b039e71bd..77cdaed6de90 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n@@ -4169,11 +4169,11 @@ static void ixgbe_vlan_promisc_disable(struct ixgbe_adapter *adapter)\n \n static void ixgbe_restore_vlan(struct ixgbe_adapter *adapter)\n {\n-\tu16 vid;\n+\tu16 vid = 1;\n \n \tixgbe_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), 0);\n \n-\tfor_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID)\n+\tfor_each_set_bit_from(vid, adapter->active_vlans, VLAN_N_VID)\n \t\tixgbe_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid);\n }\n \n",
    "prefixes": [
        "next",
        "2/2"
    ]
}