Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/814784/?format=api
{ "id": 814784, "url": "http://patchwork.ozlabs.org/api/1.2/patches/814784/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/CALttK1QuA3tSdfSUPoYtoQV5reJdsVOicLX_9iN1TkwY6De6HQ@mail.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": "<CALttK1QuA3tSdfSUPoYtoQV5reJdsVOicLX_9iN1TkwY6De6HQ@mail.gmail.com>", "list_archive_url": null, "date": "2017-09-18T06:00:23", "name": "[net-next] net: remove useless comments in dst.c", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "b075f2c0739bdb4f421df9372a5a399429fad745", "submitter": { "id": 15370, "url": "http://patchwork.ozlabs.org/api/1.2/people/15370/?format=api", "name": "duanjiong", "email": "djduanjiong@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/CALttK1QuA3tSdfSUPoYtoQV5reJdsVOicLX_9iN1TkwY6De6HQ@mail.gmail.com/mbox/", "series": [ { "id": 3564, "url": "http://patchwork.ozlabs.org/api/1.2/series/3564/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=3564", "date": "2017-09-18T06:00:23", "name": "[net-next] net: remove useless comments in dst.c", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/3564/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/814784/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/814784/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=\"uKUbyb6V\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xwb2j4s6jz9s7c\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 18 Sep 2017 16:00:29 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751001AbdIRGA0 (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 18 Sep 2017 02:00:26 -0400", "from mail-lf0-f66.google.com ([209.85.215.66]:32978 \"EHLO\n\tmail-lf0-f66.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1750710AbdIRGAZ (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Mon, 18 Sep 2017 02:00:25 -0400", "by mail-lf0-f66.google.com with SMTP id y15so3948730lfd.0\n\tfor <netdev@vger.kernel.org>; Sun, 17 Sep 2017 23:00:25 -0700 (PDT)", "by 10.46.82.14 with HTTP; Sun, 17 Sep 2017 23:00:23 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=mime-version:from:date:message-id:subject:to:cc;\n\tbh=gdZiT9IfOT9U4letnHAtj/94snuFo2CD7Xyrky4rOAc=;\n\tb=uKUbyb6VowkJMefSE1n8R3lKQCasKDSMvqy6aOyZeZlO+D7MuL75xVcRuYLnviW+RU\n\tuXp5KI8d7sC5ah/guLPGbrZLweU4oyWYLXC1nDyqDbYkqilT24Eguai/G7FTpJSnxbOG\n\tvvcHd0kxLoKoPdAA2R4TFc6ho+wrTRoX4zKffhJnbZic26864WsKg/+BTlMm1vvy6LKy\n\tJpPiKBXqWDniXCixI19PePhTJCBIp6KHmvQgrhHYsIFf0Rm8Z/1aidS2pGpzWy8C77g6\n\tDQpezRAJDwTMq23RRd2PLolk1H/iw7qsCipXA7zVeIaol31RvIyCOneqnNrQc6Yk89gK\n\tcROA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; \n\tbh=gdZiT9IfOT9U4letnHAtj/94snuFo2CD7Xyrky4rOAc=;\n\tb=AAj9+0mDoABYZm9dU+9cqpp5qa2CXrgFd1RNQUD9C9lyuGIn63l8PFjKbuXhHz0fDf\n\tkyxVELeQUvObAUtzUQAT+URt1CxwQ6wOn0OH/5O+ar9HrmL+3Yzv2DUIgXhxdL9B7RXp\n\tMHac2Iqihkqz+2hnE9/smX1dG9BBUoIKEQIcX0TKgMyjAnD7PPWaPhubIfFpoJntdDze\n\tMhBL1pJcctiO6fNRThKsDyJoCi05XbKDnFJHQ9BQGgTrlwMoW3FyfFMqsyd6HcN4NJ5/\n\tksVPVXtp0GqPcojLQ79FOyGWQfX5JMtiV+DEveSzK6/wdW4nMiT++bhpaCzqRC0DUDL4\n\tgG9w==", "X-Gm-Message-State": "AHPjjUgyvSxkBDswDdEgwu9fURj7aLw4n6rZ68Luy9fxV/rHioeCKIg8\n\tFCz7e11j3m6cv7I0IwIYytzoWrRvMOnjEtkgkzoNXA==", "X-Google-Smtp-Source": "AOwi7QBqQI47RGcJXqLX+Rqo3jLZjizX5VNQZf1me7oRDi2XahqP2jXVH7cCJG3ZadjtOA5nx1Gn5fhMGWID6aFjrIA=", "X-Received": "by 10.25.79.8 with SMTP id d8mr2831260lfb.118.1505714424147; Sun,\n\t17 Sep 2017 23:00:24 -0700 (PDT)", "MIME-Version": "1.0", "From": "Duan Jiong <djduanjiong@gmail.com>", "Date": "Mon, 18 Sep 2017 14:00:23 +0800", "Message-ID": "<CALttK1QuA3tSdfSUPoYtoQV5reJdsVOicLX_9iN1TkwY6De6HQ@mail.gmail.com>", "Subject": "[PATCH net-next] net: remove useless comments in dst.c", "To": "netdev <netdev@vger.kernel.org>", "Cc": "weiwan@google.com", "Content-Type": "text/plain; charset=\"UTF-8\"", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "dst gc related code has been removed in commit\n5b7c9a8ff828, so those comments are no longer\nuseful.\n\nSigned-off-by: Duan Jiong <jduan@fiberhome.com>\n---\n net/core/dst.c | 17 -----------------\n 1 file changed, 17 deletions(-)", "diff": "diff --git a/net/core/dst.c b/net/core/dst.c\nindex a6c47da..a710d39 100644\n--- a/net/core/dst.c\n+++ b/net/core/dst.c\n@@ -25,23 +25,6 @@\n #include <net/dst.h>\n #include <net/dst_metadata.h>\n\n-/*\n- * Theory of operations:\n- * 1) We use a list, protected by a spinlock, to add\n- * new entries from both BH and non-BH context.\n- * 2) In order to keep spinlock held for a small delay,\n- * we use a second list where are stored long lived\n- * entries, that are handled by the garbage collect thread\n- * fired by a workqueue.\n- * 3) This list is guarded by a mutex,\n- * so that the gc_task and dst_dev_event() can be synchronized.\n- */\n-\n-/*\n- * We want to keep lock & list close together\n- * to dirty as few cache lines as possible in __dst_free().\n- * As this is not a very strong hint, we dont force an alignment on SMP.\n- */\n int dst_discard_out(struct net *net, struct sock *sk, struct sk_buff *skb)\n {\n kfree_skb(skb);\n", "prefixes": [ "net-next" ] }