get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 831023,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/831023/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20171027012443.3306-14-xiyou.wangcong@gmail.com/",
    "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": "<20171027012443.3306-14-xiyou.wangcong@gmail.com>",
    "list_archive_url": null,
    "date": "2017-10-27T01:24:40",
    "name": "[net,13/16] net_sched: add rtnl assertion to tcf_exts_destroy()",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "4ea29d2895b778fdd7fa3c9471a3ea9bafa31051",
    "submitter": {
        "id": 211,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/211/?format=api",
        "name": "Cong Wang",
        "email": "xiyou.wangcong@gmail.com"
    },
    "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/20171027012443.3306-14-xiyou.wangcong@gmail.com/mbox/",
    "series": [
        {
            "id": 10472,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/10472/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=10472",
            "date": "2017-10-27T01:24:27",
            "name": "net_sched: fix races with RCU callbacks",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/10472/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/831023/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/831023/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=gmail.com header.i=@gmail.com\n\theader.b=\"ZKlSg81f\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3yNR694jfbz9t2h\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri, 27 Oct 2017 12:26:09 +1100 (AEDT)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S932514AbdJ0B0I (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 26 Oct 2017 21:26:08 -0400",
            "from mail-pf0-f195.google.com ([209.85.192.195]:45039 \"EHLO\n\tmail-pf0-f195.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S932414AbdJ0BZP (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Thu, 26 Oct 2017 21:25:15 -0400",
            "by mail-pf0-f195.google.com with SMTP id x7so3784466pfa.1\n\tfor <netdev@vger.kernel.org>; Thu, 26 Oct 2017 18:25:15 -0700 (PDT)",
            "from tw-172-25-30-113.office.twttr.net ([8.25.197.25])\n\tby smtp.gmail.com with ESMTPSA id\n\tb16sm13211973pfe.58.2017.10.26.18.25.12\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tThu, 26 Oct 2017 18:25:13 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=uIn0A9T4QwIHgukC6WokQCAn/Js464c+zFUmVIVaTF0=;\n\tb=ZKlSg81fAHiqjpxa7BW1C2+P55U9pJ41EKOkehJPj2fubUQ5huCv71+B1z64n0R+AI\n\tbdiYgsW4H8WaPyhhbjWbugQJm+fSARk5Zx0DP7QDNxIWc9BtZaqwnRRlIjg2rd7dtmwG\n\t+WVqmYpJC50NV06xpnP0drjwnXWaNuwNEYAzKru1IkDoq1uOlA7qkQ9+IMzse+MQGPAV\n\txaZR/kLDFkw5TjV2QST21OJIvh+VghwqDnEFjiSGum1RGLOmQU9kT5kgI2Rjm2eoDLoe\n\tdzHLo/J3DMntEoyptB8pNwwWO27j+EkbeOt7d7/lYHadK92vw7u+CM1tCSIIAP1yYe7P\n\tWPkg==",
        "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=uIn0A9T4QwIHgukC6WokQCAn/Js464c+zFUmVIVaTF0=;\n\tb=Av+3Mbi+MrwVjH7+VME/CxJPfm1+6FG12AdKakC6lj2kuggvfEG+a2Y/xLyfFnvLID\n\t/4LiKhspHO0slyQxgENX+4M5JhreeLeJMsk415tstfsIO7aOEs7rbsmRhM86BgaPBh9r\n\tDbIds5ySeHGLbE/ErtI4SDKlENXb4CPXCrMHD9SZgIVP3AFEnjjIkgxox6OF4rb/gSdT\n\th5hU/ByyaJ1WTbJQH/Pt9wSoRy0TWPdKSJ6OPsILWP56Z8OWbN7JXCm9qs8Ej7PBS0jT\n\th4SB6FwUCWijIsCtYTDyg0vHpfCy1oiKd628cyAG1vMjkUYoGFljqMHfzGi3cbe99Utx\n\tNIgQ==",
        "X-Gm-Message-State": "AMCzsaVwsXNLTGLIuFbKFx0cGTo4PnoVX8I71Nm/SN7sZwSmCzLrI4YR\n\tuW54l1a9Bcc1XGthq0sdLB/m831S",
        "X-Google-Smtp-Source": "ABhQp+QEtL0ntoolKnbbr/GBFoJ0Z0i8xm4CqUn4m75Gs1bsoLHGKdiN+yXq6USLun/BAV2HcHrxxw==",
        "X-Received": "by 10.101.75.7 with SMTP id r7mr6608699pgq.133.1509067513945;\n\tThu, 26 Oct 2017 18:25:13 -0700 (PDT)",
        "From": "Cong Wang <xiyou.wangcong@gmail.com>",
        "To": "netdev@vger.kernel.org",
        "Cc": "Chris Mi <chrism@mellanox.com>, Cong Wang <xiyou.wangcong@gmail.com>,\n\tDaniel Borkmann <daniel@iogearbox.net>, Jiri Pirko <jiri@resnulli.us>,\n\tJohn Fastabend <john.fastabend@gmail.com>,\n\tJamal Hadi Salim <jhs@mojatatu.com>,\n\t\"Paul E. McKenney\" <paulmck@linux.vnet.ibm.com>",
        "Subject": "[Patch net 13/16] net_sched: add rtnl assertion to\n\ttcf_exts_destroy()",
        "Date": "Thu, 26 Oct 2017 18:24:40 -0700",
        "Message-Id": "<20171027012443.3306-14-xiyou.wangcong@gmail.com>",
        "X-Mailer": "git-send-email 2.9.4",
        "In-Reply-To": "<20171027012443.3306-1-xiyou.wangcong@gmail.com>",
        "References": "<20171027012443.3306-1-xiyou.wangcong@gmail.com>",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "After previous patches, it is now safe to claim that\ntcf_exts_destroy() is always called with RTNL lock.\n\nCc: Daniel Borkmann <daniel@iogearbox.net>\nCc: Jiri Pirko <jiri@resnulli.us>\nCc: John Fastabend <john.fastabend@gmail.com>\nCc: Jamal Hadi Salim <jhs@mojatatu.com>\nCc: \"Paul E. McKenney\" <paulmck@linux.vnet.ibm.com>\nSigned-off-by: Cong Wang <xiyou.wangcong@gmail.com>\n---\n net/sched/cls_api.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c\nindex 045d13679ad6..231181c602ed 100644\n--- a/net/sched/cls_api.c\n+++ b/net/sched/cls_api.c\n@@ -909,6 +909,7 @@ void tcf_exts_destroy(struct tcf_exts *exts)\n #ifdef CONFIG_NET_CLS_ACT\n \tLIST_HEAD(actions);\n \n+\tASSERT_RTNL();\n \ttcf_exts_to_list(exts, &actions);\n \ttcf_action_destroy(&actions, TCA_ACT_UNBIND);\n \tkfree(exts->actions);\n",
    "prefixes": [
        "net",
        "13/16"
    ]
}