get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 790337,
    "url": "http://patchwork.ozlabs.org/api/patches/790337/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/1500389703-5928-1-git-send-email-majopela@redhat.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": "<1500389703-5928-1-git-send-email-majopela@redhat.com>",
    "list_archive_url": null,
    "date": "2017-07-18T14:55:00",
    "name": "[ovs-dev,v1,1/4] ovn: l3ha fix bundle action generation",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "6baf349c27059cef3d5612375c1a048fd22ca77e",
    "submitter": {
        "id": 67170,
        "url": "http://patchwork.ozlabs.org/api/people/67170/?format=api",
        "name": "Miguel Angel Ajo",
        "email": "majopela@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/openvswitch/patch/1500389703-5928-1-git-send-email-majopela@redhat.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/790337/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/790337/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>)",
        "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 3xBjsg6D9Kz9ryr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 19 Jul 2017 00:56:23 +1000 (AEST)",
            "from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id C0890898;\n\tTue, 18 Jul 2017 14:55:11 +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 B0C1E49F\n\tfor <dev@openvswitch.org>; Tue, 18 Jul 2017 14:55:10 +0000 (UTC)",
            "from mail-wr0-f169.google.com (mail-wr0-f169.google.com\n\t[209.85.128.169])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id 2B837152\n\tfor <dev@openvswitch.org>; Tue, 18 Jul 2017 14:55:10 +0000 (UTC)",
            "by mail-wr0-f169.google.com with SMTP id 12so32980736wrb.1\n\tfor <dev@openvswitch.org>; Tue, 18 Jul 2017 07:55:10 -0700 (PDT)",
            "from gw2.localdomain (111.148.134.37.dynamic.jazztel.es.\n\t[37.134.148.111]) by smtp.gmail.com with ESMTPSA id\n\tm26sm3535501wrm.4.2017.07.18.07.55.07\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 18 Jul 2017 07:55:07 -0700 (PDT)"
        ],
        "X-Greylist": "whitelisted by SQLgrey-1.7.6",
        "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;\n\tbh=C2Qe4lSNKMsdEwnNT69F4BE4FeczzBk14Vpn91KLZIY=;\n\tb=luOVXqw5YKhJ2J+DZy2OdaP7HzHmGGjTFwRJ0PtpqFkn+adCzl+0DB0fZSLXuB/p3S\n\t4FgtQgjgK8KdAhkl/G7cPqKZK5Q4J4Kma2r+jmxoo9Xjn6GbbaOHfGpfnzhTcmWlPamt\n\t6oeKpoUhBDBrJJ9sunyxNboQxGVyYVhHVQNt+RjFjoU7/SzlEIdVoZardRLG20g8BFSk\n\tSbK9wkgq3e1HHDLNEDy9if9tpxkGs+TUUUQ/0yUTTkqW89CgYnRX45GSyB18meTkJNbo\n\tSXsie1rGxh2StThDLovVP3UIedWeQwgzN63dY6+yOSpNZ8o1eAdJT76hbLoizxQsEE7I\n\tUc7Q==",
        "X-Gm-Message-State": "AIVw110FFzTZKjxatdmGY7p7Da9b3yVaQNvk4ei6Vds9hFkTczUo8j3n\n\tHepTbWl2ZCa0c5kbgPhLTw==",
        "X-Received": "by 10.223.151.82 with SMTP id r76mr1443372wrb.6.1500389708612;\n\tTue, 18 Jul 2017 07:55:08 -0700 (PDT)",
        "From": "Miguel Angel Ajo <majopela@redhat.com>",
        "To": "dev@openvswitch.org",
        "Date": "Tue, 18 Jul 2017 14:55:00 +0000",
        "Message-Id": "<1500389703-5928-1-git-send-email-majopela@redhat.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "X-Spam-Status": "No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE\n\tautolearn=ham version=3.3.1",
        "X-Spam-Checker-Version": "SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org",
        "Cc": "Miguel Angel Ajo <majopela@redhat.com>",
        "Subject": "[ovs-dev] [PATCH v1 1/4] ovn: l3ha fix bundle action generation",
        "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": "The bundle pointer wasn't properly re-pointed each time\nwe added a new slave port to the openflow action.\n\nSigned-off-by: Miguel Angel Ajo <majopela@redhat.com>\n---\n ovn/controller/physical.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/ovn/controller/physical.c b/ovn/controller/physical.c\nindex 1d0fe7f..719b020 100644\n--- a/ovn/controller/physical.c\n+++ b/ovn/controller/physical.c\n@@ -695,16 +695,17 @@ consider_port_binding(enum mf_field_id mff_ovn_geneve,\n                     }\n                     ofpbuf_put(ofpacts_p, &tun->ofport,\n                                sizeof tun->ofport);\n+                    bundle = ofpacts_p->header;\n                     bundle->n_slaves++;\n                 }\n             }\n \n-            ofpact_finish_BUNDLE(ofpacts_p, &bundle);\n             bundle->algorithm = NX_BD_ALG_ACTIVE_BACKUP;\n             /* Although ACTIVE_BACKUP bundle algorithm seems to ignore\n              * the next two fields, those are always set */\n             bundle->basis = 0;\n             bundle->fields = NX_HASH_FIELDS_ETH_SRC;\n+            ofpact_finish_BUNDLE(ofpacts_p, &bundle);\n         }\n         ofctrl_add_flow(flow_table, OFTABLE_REMOTE_OUTPUT, 100, 0,\n                         &match, ofpacts_p);\n",
    "prefixes": [
        "ovs-dev",
        "v1",
        "1/4"
    ]
}