get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 816696,
    "url": "http://patchwork.ozlabs.org/api/patches/816696/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170921064338.1282-13-jiri@resnulli.us/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api",
        "name": "Linux network development",
        "link_name": "netdev",
        "list_id": "netdev.vger.kernel.org",
        "list_email": "netdev@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170921064338.1282-13-jiri@resnulli.us>",
    "list_archive_url": null,
    "date": "2017-09-21T06:43:38",
    "name": "[net-next,12/12] mlxsw: spectrum: router: Don't ignore IPMR notifications",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "ae2da3ef2873012af80984fd74968f86af951954",
    "submitter": {
        "id": 15321,
        "url": "http://patchwork.ozlabs.org/api/people/15321/?format=api",
        "name": "Jiri Pirko",
        "email": "jiri@resnulli.us"
    },
    "delegate": {
        "id": 34,
        "url": "http://patchwork.ozlabs.org/api/users/34/?format=api",
        "username": "davem",
        "first_name": "David",
        "last_name": "Miller",
        "email": "davem@davemloft.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20170921064338.1282-13-jiri@resnulli.us/mbox/",
    "series": [
        {
            "id": 4309,
            "url": "http://patchwork.ozlabs.org/api/series/4309/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=4309",
            "date": "2017-09-21T06:43:26",
            "name": "mlxsw: Add support for offloading IPv4 multicast routes",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/4309/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/816696/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/816696/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=resnulli-us.20150623.gappssmtp.com\n\theader.i=@resnulli-us.20150623.gappssmtp.com\n\theader.b=\"dAdzAHTF\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xyRsX1szJz9s7g\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 21 Sep 2017 16:44:00 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751953AbdIUGn7 (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 21 Sep 2017 02:43:59 -0400",
            "from mail-wm0-f65.google.com ([74.125.82.65]:34354 \"EHLO\n\tmail-wm0-f65.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751925AbdIUGnu (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Thu, 21 Sep 2017 02:43:50 -0400",
            "by mail-wm0-f65.google.com with SMTP id i131so4290130wma.1\n\tfor <netdev@vger.kernel.org>; Wed, 20 Sep 2017 23:43:50 -0700 (PDT)",
            "from localhost (ip-89-177-125-82.net.upcbroadband.cz.\n\t[89.177.125.82]) by smtp.gmail.com with ESMTPSA id\n\tm138sm645543wmd.29.2017.09.20.23.43.49\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tWed, 20 Sep 2017 23:43:49 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=resnulli-us.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=Ec9ZeX2yOGsZ068C1DIljaeVSs5cxet0F5HGOZ1OOi4=;\n\tb=dAdzAHTFjzMirrWs2YlA1YmmxpD7uiu892BaVnRdLFKO0gsRlHO8D6wAx3cxlIt/Ok\n\t8rUL5g2KCS4c4VVyoeaUwOvf6xuLaETxdizfED5Jgm+kQO1lxK5RF+kDUXqQ9d39rXAQ\n\tmKAhPfDzTIrg4C6mIeTD21YRCo/oMSE+QRRjksY4VheV9uPts4URHFzWd14sTleuCmi5\n\tUcnnz1ggFgVoKDIok0UV4unx5PghB5WW7uxM4Fgop+mISgTy3Jt928IsVckk8/qjz1gp\n\tI1vgdgrslWX75BYFKmQ9ync3gNtlW4f2ZPR37yIv6OHAcu9CWRxSjukEncOSQTyEcTv8\n\t0WqA==",
        "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=Ec9ZeX2yOGsZ068C1DIljaeVSs5cxet0F5HGOZ1OOi4=;\n\tb=b6IwY4+fVAW4X4MtOxfVLPDMAmewSw0ooAFepkxOR7c2atkiNHudT3iEoGOG7VMOpp\n\tqp82GqKP98o27b8iQr6TeTXo79EM3phIPmO6eXY1cO+A8dNqRRhB+p1R12l17hUcZWLf\n\t1hO6rr6CXhqNCVKvzef3t4dUO4n3xaerevwWmBMhaut24l4BICWJLdSKJAVqWrtVJg7Y\n\tsBYkQTFgb18vHS5XIhZIBOVjvylr4GiQblZVwofoMRjz8pRUkUmbziwIua8o2p/UJ1NT\n\tet9aaG4nRAxWRfe6jLaNu40mSd44R7evs3N9OXyBxuMZXe9QVWT45JCqO5+ZJ9t9thuF\n\tOWQg==",
        "X-Gm-Message-State": "AHPjjUgOFTEbXsOHx63EvctFI701+apRlZ4YMwmmuy6ct/q8IwdFz+64\n\tJQPnz4399aHMusgLYFocTU6EuZTT",
        "X-Google-Smtp-Source": "AOwi7QCSDez375oXKCarlcz3BuEzvOz7GXT2Vt1ZSYG/B2ZgTEJVjXOeZsJj5RJ43wTyiQBK73nBvg==",
        "X-Received": "by 10.28.132.141 with SMTP id g135mr5624842wmd.37.1505976229541; \n\tWed, 20 Sep 2017 23:43:49 -0700 (PDT)",
        "From": "Jiri Pirko <jiri@resnulli.us>",
        "To": "netdev@vger.kernel.org",
        "Cc": "davem@davemloft.net, yotamg@mellanox.com, idosch@mellanox.com,\n\tmlxsw@mellanox.com",
        "Subject": "[patch net-next 12/12] mlxsw: spectrum: router: Don't ignore IPMR\n\tnotifications",
        "Date": "Thu, 21 Sep 2017 08:43:38 +0200",
        "Message-Id": "<20170921064338.1282-13-jiri@resnulli.us>",
        "X-Mailer": "git-send-email 2.9.5",
        "In-Reply-To": "<20170921064338.1282-1-jiri@resnulli.us>",
        "References": "<20170921064338.1282-1-jiri@resnulli.us>",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "From: Yotam Gigi <yotamg@mellanox.com>\n\nMake the Spectrum router logic not ignore the RTNL_FAMILY_IPMR FIB\nnotifications.\n\nPast commits added the IPMR VIF and MFC add/del notifications via the\nfib_notifier chain. In addition, a code for handling these notifications in\nthe Spectrum router logic was added. Make the Spectrum router logic not\nignore these notifications and forward the requests to the Spectrum\nmulticast router offloading logic.\n\nSigned-off-by: Yotam Gigi <yotamg@mellanox.com>\nReviewed-by: Ido Schimmel <idosch@mellanox.com>\nSigned-off-by: Jiri Pirko <jiri@mellanox.com>\n---\n drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c\nindex edc6462..16c041b 100644\n--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c\n+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c\n@@ -5034,7 +5034,8 @@ static int mlxsw_sp_router_fib_event(struct notifier_block *nb,\n \tstruct mlxsw_sp_router *router;\n \n \tif (!net_eq(info->net, &init_net) ||\n-\t    (info->family != AF_INET && info->family != AF_INET6))\n+\t    (info->family != AF_INET && info->family != AF_INET6 &&\n+\t     info->family != RTNL_FAMILY_IPMR))\n \t\treturn NOTIFY_DONE;\n \n \tfib_work = kzalloc(sizeof(*fib_work), GFP_ATOMIC);\n",
    "prefixes": [
        "net-next",
        "12/12"
    ]
}