get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 812530,
    "url": "http://patchwork.ozlabs.org/api/patches/812530/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/1505152570-6143-12-git-send-email-gvrose8192@gmail.com/",
    "project": {
        "id": 47,
        "url": "http://patchwork.ozlabs.org/api/projects/47/?format=api",
        "name": "Open vSwitch",
        "link_name": "openvswitch",
        "list_id": "ovs-dev.openvswitch.org",
        "list_email": "ovs-dev@openvswitch.org",
        "web_url": "http://openvswitch.org/",
        "scm_url": "git@github.com:openvswitch/ovs.git",
        "webscm_url": "https://github.com/openvswitch/ovs",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1505152570-6143-12-git-send-email-gvrose8192@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-11T17:56:07",
    "name": "[ovs-dev,12/15] datapath: Fix up vxlan device flags",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "fd3842ce09e38ca9bd7811b749bc49683e3494cb",
    "submitter": {
        "id": 69140,
        "url": "http://patchwork.ozlabs.org/api/people/69140/?format=api",
        "name": "Gregory Rose",
        "email": "gvrose8192@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/openvswitch/patch/1505152570-6143-12-git-send-email-gvrose8192@gmail.com/mbox/",
    "series": [
        {
            "id": 2537,
            "url": "http://patchwork.ozlabs.org/api/series/2537/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/openvswitch/list/?series=2537",
            "date": "2017-09-11T17:55:56",
            "name": "[ovs-dev,01/15] acinclude: Check for SKB_GSO_UDP",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2537/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/812530/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/812530/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ovs-dev-bounces@openvswitch.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "dev@openvswitch.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "ovs-dev@mail.linuxfoundation.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=openvswitch.org\n\t(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;\n\tenvelope-from=ovs-dev-bounces@openvswitch.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=\"GY8VLvjz\"; dkim-atps=neutral"
        ],
        "Received": [
            "from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xrbPs1Qmvz9s7F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 04:03:13 +1000 (AEST)",
            "from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id 63857BBD;\n\tMon, 11 Sep 2017 17:56:37 +0000 (UTC)",
            "from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id 70DF3B8A\n\tfor <dev@openvswitch.org>; Mon, 11 Sep 2017 17:56:34 +0000 (UTC)",
            "from mail-pg0-f66.google.com (mail-pg0-f66.google.com\n\t[74.125.83.66])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id 367A4E0\n\tfor <dev@openvswitch.org>; Mon, 11 Sep 2017 17:56:34 +0000 (UTC)",
            "by mail-pg0-f66.google.com with SMTP id i130so2961779pgc.0\n\tfor <dev@openvswitch.org>; Mon, 11 Sep 2017 10:56:34 -0700 (PDT)",
            "from gizo.domain (67-5-132-83.ptld.qwest.net. [67.5.132.83])\n\tby smtp.gmail.com with ESMTPSA id\n\th185sm16733084pfe.160.2017.09.11.10.56.31\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 11 Sep 2017 10:56:32 -0700 (PDT)"
        ],
        "X-Greylist": "whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=GtvOG6nV2JH+Y7/d1ncsC6tRujV+5/9Tjcr9aMNbjbM=;\n\tb=GY8VLvjzet+ZkFdodrWIVs8bpPn3/iBBzEPMee/zjyxqy7g0lor2Csp17KbiBSbZB8\n\tILmW62eeAHgGlmFkQyCmLCW/C0FIRJP6DTfQZTw2x7ONtQKIyNA7XKiSL1AeHRWGurF5\n\tiBr3rpTZWDBpZElL8f4rpSzz7O9wdl88dwfUKDDvbuUxqp9QgpV8JDXOWS5uB/l60Fii\n\tg2Yj+xRv8Uie1mxbjEkr2cOaIXPhPhQRyYs9HzAAQNe257a6HybVxqvxRFMJkQ5FTPQK\n\tMlBJTvr+9Ry6ji0wS2LCubE1BDvd4mUvU2PmQ0kVySMQg4lFK2P9ucHVnj/jt+y55mep\n\tjcDQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=GtvOG6nV2JH+Y7/d1ncsC6tRujV+5/9Tjcr9aMNbjbM=;\n\tb=lUuTphzn8xm25NeK9cSNLIr8D0VWXt54LAhilccIQM1DXomoi0mAGdzIg2KoMys34M\n\tHQ8x1dGIrkOx0q0cpWczZJgJjWzuLEh2GkpYz/8tcT2QzP4IsYeSbUHee/p3wRWprnEF\n\t1EkFkLZpSg5I7ZubG193mLUJYVxU94rW+ocjjqRqtlVYnO+SGMsOw/uACA1l0JN4etVf\n\td2cHwVgT4aEO5fx4ZVLE7zW5Pt0iNS02FqR3Xs10Z6dLDT6/h65aPeLq3L8mvVmvFWRA\n\tjnqC7cKhIV3OB77AhMFSjRhV7B7tnt6MVZPJXI4FFJFWj9Da1Wba+FJ0kX8UI0DimcyN\n\tW97g==",
        "X-Gm-Message-State": "AHPjjUiPmxMPGuQDZGfcG+KiJ8LHn4ToH9UHdJfVka7kjOYIITZc2fH8\n\tfOLeczmT6YKeqHSs",
        "X-Google-Smtp-Source": "ADKCNb654dT71JvszH9CDCCx2DfC0gRd9do9BVQX5Rl5MYkpupZPayeKG89QlnW4RS0ZWGjXRLTJSg==",
        "X-Received": "by 10.101.85.70 with SMTP id t6mr12090464pgr.255.1505152593416; \n\tMon, 11 Sep 2017 10:56:33 -0700 (PDT)",
        "From": "Greg Rose <gvrose8192@gmail.com>",
        "To": "dev@openvswitch.org",
        "Date": "Mon, 11 Sep 2017 10:56:07 -0700",
        "Message-Id": "<1505152570-6143-12-git-send-email-gvrose8192@gmail.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1505152570-6143-1-git-send-email-gvrose8192@gmail.com>",
        "References": "<1505152570-6143-1-git-send-email-gvrose8192@gmail.com>",
        "X-Spam-Status": "No, score=0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tDKIM_VALID_AU, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, \n\tRCVD_IN_SORBS_SPAM autolearn=disabled version=3.3.1",
        "X-Spam-Checker-Version": "SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org",
        "Subject": "[ovs-dev] [PATCH 12/15] datapath: Fix up vxlan device flags",
        "X-BeenThere": "ovs-dev@openvswitch.org",
        "X-Mailman-Version": "2.1.12",
        "Precedence": "list",
        "List-Id": "<ovs-dev.openvswitch.org>",
        "List-Unsubscribe": "<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>",
        "List-Archive": "<http://mail.openvswitch.org/pipermail/ovs-dev/>",
        "List-Post": "<mailto:ovs-dev@openvswitch.org>",
        "List-Help": "<mailto:ovs-dev-request@openvswitch.org?subject=help>",
        "List-Subscribe": "<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "ovs-dev-bounces@openvswitch.org",
        "Errors-To": "ovs-dev-bounces@openvswitch.org"
    },
    "content": "I missed a couple of usages of the flags parameter from vxlan_dev\nwhile adding compatibility code to handle the removal of the flags.\nAdd the checks so that the module can compile for Linux kernel\nrelease 4.13\n\nFixes: 143656435c (\"datapath: get rid of redundant vxlan_dev.flags\")\nSigned-off-by: Greg Rose <gvrose8192@gmail.com>\n---\n datapath/vport-vxlan.c | 10 +++++++++-\n 1 file changed, 9 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/datapath/vport-vxlan.c b/datapath/vport-vxlan.c\nindex 2910694..c7139ab 100644\n--- a/datapath/vport-vxlan.c\n+++ b/datapath/vport-vxlan.c\n@@ -1,5 +1,5 @@\n /*\n- * Copyright (c) 2015 Nicira, Inc.\n+ * Copyright (c) 2015,2017 Nicira, Inc.\n  * Copyright (c) 2013 Cisco Systems, Inc.\n  *\n  * This program is free software; you can redistribute it and/or\n@@ -60,14 +60,22 @@ static int vxlan_get_options(const struct vport *vport, struct sk_buff *skb)\n \t\t\treturn -EMSGSIZE;\n \n \t\tnla_nest_end(skb, exts);\n+#ifdef HAVE_VXLAN_DEV_CFG\n+\t} else if (vxlan->cfg.flags & VXLAN_F_GPE) {\n+#else\n \t} else if (vxlan->flags & VXLAN_F_GPE) {\n+#endif\n \t\tstruct nlattr *exts;\n \n \t\texts = nla_nest_start(skb, OVS_TUNNEL_ATTR_EXTENSION);\n \t\tif (!exts)\n \t\t\treturn -EMSGSIZE;\n \n+#ifdef HAVE_VXLAN_DEV_CFG\n+\t\tif (vxlan->cfg.flags & VXLAN_F_GPE &&\n+#else\n \t\tif (vxlan->flags & VXLAN_F_GPE &&\n+#endif\n \t\t    nla_put_flag(skb, OVS_VXLAN_EXT_GPE))\n \t\t\treturn -EMSGSIZE;\n \n",
    "prefixes": [
        "ovs-dev",
        "12/15"
    ]
}