get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 833733,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/833733/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20171103090344.19444-6-jiri@resnulli.us/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20171103090344.19444-6-jiri@resnulli.us>",
    "list_archive_url": null,
    "date": "2017-11-03T09:03:33",
    "name": "[net-next,05/16] mlxsw: spectrum_router: Extract mlxsw_sp_ipip_entry_ol_down_event()",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "729bdd530665186f30761c0134b2132d032fcfbe",
    "submitter": {
        "id": 15321,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/15321/?format=api",
        "name": "Jiri Pirko",
        "email": "jiri@resnulli.us"
    },
    "delegate": {
        "id": 34,
        "url": "http://patchwork.ozlabs.org/api/1.2/users/34/?format=api",
        "username": "davem",
        "first_name": "David",
        "last_name": "Miller",
        "email": "davem@davemloft.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20171103090344.19444-6-jiri@resnulli.us/mbox/",
    "series": [
        {
            "id": 11677,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/11677/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=11677",
            "date": "2017-11-03T09:03:28",
            "name": "mlxsw: Handle changes in GRE configuration",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/11677/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/833733/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/833733/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=\"NoWI3udc\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3ySwyQ2RXpz9sNV\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri,  3 Nov 2017 20:05:02 +1100 (AEDT)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1755840AbdKCJEy (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tFri, 3 Nov 2017 05:04:54 -0400",
            "from mail-wr0-f193.google.com ([209.85.128.193]:57290 \"EHLO\n\tmail-wr0-f193.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S932190AbdKCJDu (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Fri, 3 Nov 2017 05:03:50 -0400",
            "by mail-wr0-f193.google.com with SMTP id r79so1849027wrb.13\n\tfor <netdev@vger.kernel.org>; Fri, 03 Nov 2017 02:03:49 -0700 (PDT)",
            "from localhost (ip-94-113-127-32.net.upcbroadband.cz.\n\t[94.113.127.32]) by smtp.gmail.com with ESMTPSA id\n\tk69sm2297071wmg.45.2017.11.03.02.03.48\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tFri, 03 Nov 2017 02:03:48 -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=IuZf+/yBItAPJUfatK5Y4UA65CI4bVHGbBItMAljaAg=;\n\tb=NoWI3udc5n/wF87C7HQzMJ53Se1PyS8xMhX6OZKEEG3X/+m9UoJ+vCq3pr3qWwex+L\n\tBN9ixQQUuLXzpdpc2Y6UhwaiqfYZSsrgtUeSsVKw2V/cJTnVvvtqNr8pVAOr/Ct6To2z\n\tT4hZrWoFJAEd4qWL5Qjzj//8+8otCkMLYKTirje4X2J/Ka7RwtzxF+i6edBdbdCb9ZBV\n\t6Gka7S3vSA2qQ/Tf1ZLtAlFEP6Z74HV5DSKxQtzZF5yTuWJs937BYmorqePlRmg3RuLP\n\t/kMUYYTmiPtVYdNjVlewpJa88jNTxhk29oqiT7xVgbiuEbBcCpxpsTTQ1gRp6w2sYPtH\n\t/bUw==",
        "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=IuZf+/yBItAPJUfatK5Y4UA65CI4bVHGbBItMAljaAg=;\n\tb=HJVNgWxtHOKTQGvQKgCz/gX5rA86AEMClUL2xBichfFRz+teB/s6l6pIOp4T2Al+nU\n\tefyCAwkCBmi3yZTbv3JvxuhiffzxnSvthLTLjlKhLtinB7rqsYSB8sy/pGa+L6NAmtVZ\n\tTwxRPA8cq0t1ueZBsvr8mN5W2rjLslxaHJmcTST7za4rcMfUAsn3DdPrX0X0/s9gkDsf\n\tj7WAfnGpkNm12EGSsoJTDy3OoLuY4o6vRoUEsa43UNhq9hBAu8LqdKzOEQTvW+X7T3T8\n\tTJqAMkCxndEuRdXwhotqfo+GZ0CvwIS8z3DDNJ7QSMvGWIOP3Supe4UQ2O2zHZkYAHIg\n\tYm9A==",
        "X-Gm-Message-State": "AMCzsaVtbO4sMF/HO3Wjf/S/P0WF4dLe5JE0Bx2yyxtDFG3aYiaDPK2/\n\tVwOnJoLdWM40DL3SimtLpz7dSqZW",
        "X-Google-Smtp-Source": "ABhQp+RgerWH5HMqHfPYvdLXG8aZiWodRw6tZad3NRj5dvsumGGKakA/UBDuwro6oCZPEkpi3fcizw==",
        "X-Received": "by 10.223.202.10 with SMTP id o10mr5136797wrh.208.1509699829015; \n\tFri, 03 Nov 2017 02:03:49 -0700 (PDT)",
        "From": "Jiri Pirko <jiri@resnulli.us>",
        "To": "netdev@vger.kernel.org",
        "Cc": "davem@davemloft.net, petrm@mellanox.com, idosch@mellanox.com,\n\tmlxsw@mellanox.com",
        "Subject": "[patch net-next 05/16] mlxsw: spectrum_router: Extract\n\tmlxsw_sp_ipip_entry_ol_down_event()",
        "Date": "Fri,  3 Nov 2017 10:03:33 +0100",
        "Message-Id": "<20171103090344.19444-6-jiri@resnulli.us>",
        "X-Mailer": "git-send-email 2.9.5",
        "In-Reply-To": "<20171103090344.19444-1-jiri@resnulli.us>",
        "References": "<20171103090344.19444-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: Petr Machata <petrm@mellanox.com>\n\nSigned-off-by: Petr Machata <petrm@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 | 12 ++++++++++--\n 1 file changed, 10 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c\nindex ec90c6b..da8fe7e 100644\n--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c\n+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c\n@@ -1332,14 +1332,22 @@ static int mlxsw_sp_netdevice_ipip_ol_up_event(struct mlxsw_sp *mlxsw_sp,\n \treturn 0;\n }\n \n+static void\n+mlxsw_sp_ipip_entry_ol_down_event(struct mlxsw_sp *mlxsw_sp,\n+\t\t\t\t  struct mlxsw_sp_ipip_entry *ipip_entry)\n+{\n+\tif (ipip_entry->decap_fib_entry)\n+\t\tmlxsw_sp_ipip_entry_demote_decap(mlxsw_sp, ipip_entry);\n+}\n+\n static void mlxsw_sp_netdevice_ipip_ol_down_event(struct mlxsw_sp *mlxsw_sp,\n \t\t\t\t\t\t  struct net_device *ol_dev)\n {\n \tstruct mlxsw_sp_ipip_entry *ipip_entry;\n \n \tipip_entry = mlxsw_sp_ipip_entry_find_by_ol_dev(mlxsw_sp, ol_dev);\n-\tif (ipip_entry && ipip_entry->decap_fib_entry)\n-\t\tmlxsw_sp_ipip_entry_demote_decap(mlxsw_sp, ipip_entry);\n+\tif (ipip_entry)\n+\t\tmlxsw_sp_ipip_entry_ol_down_event(mlxsw_sp, ipip_entry);\n }\n \n static int mlxsw_sp_netdevice_ipip_ol_vrf_event(struct mlxsw_sp *mlxsw_sp,\n",
    "prefixes": [
        "net-next",
        "05/16"
    ]
}