Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1029/?format=api
{ "id": 1029, "url": "http://patchwork.ozlabs.org/api/patches/1029/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20080923.010655.250864105.davem@davemloft.net/", "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": "<20080923.010655.250864105.davem@davemloft.net>", "list_archive_url": null, "date": "2008-09-23T08:06:55", "name": ": net: Add skb_queue_walk_from() and skb_queue_walk_from_safe().", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "d4500858104e43a5c485d357d6399141d13f07dc", "submitter": { "id": 15, "url": "http://patchwork.ozlabs.org/api/people/15/?format=api", "name": "David Miller", "email": "davem@davemloft.net" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20080923.010655.250864105.davem@davemloft.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/1029/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1029/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netdev-owner@vger.kernel.org>", "X-Original-To": "patchwork-incoming@ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.176.167])\n\tby ozlabs.org (Postfix) with ESMTP id AAD88DDE00\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 23 Sep 2008 18:07:14 +1000 (EST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752090AbYIWIHJ (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tTue, 23 Sep 2008 04:07:09 -0400", "(majordomo@vger.kernel.org) by vger.kernel.org id S1751573AbYIWIHI\n\t(ORCPT <rfc822; netdev-outgoing>); Tue, 23 Sep 2008 04:07:08 -0400", "from 74-93-104-97-Washington.hfc.comcastbusiness.net\n\t([74.93.104.97]:52462\n\t\"EHLO sunset.davemloft.net\" rhost-flags-OK-FAIL-OK-OK)\n\tby vger.kernel.org with ESMTP id S1751926AbYIWIHH (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Tue, 23 Sep 2008 04:07:07 -0400", "from localhost (localhost [127.0.0.1])\n\tby sunset.davemloft.net (Postfix) with ESMTP id 0BA0EC8C181\n\tfor <netdev@vger.kernel.org>; Tue, 23 Sep 2008 01:06:56 -0700 (PDT)" ], "Date": "Tue, 23 Sep 2008 01:06:55 -0700 (PDT)", "Message-Id": "<20080923.010655.250864105.davem@davemloft.net>", "To": "netdev@vger.kernel.org", "Subject": "[PATCH]: net: Add skb_queue_walk_from() and\n\tskb_queue_walk_from_safe().", "From": "David Miller <davem@davemloft.net>", "X-Mailer": "Mew version 6.1 on Emacs 22.1 / Mule 5.0 (SAKAKI)", "Mime-Version": "1.0", "Content-Type": "Text/Plain; charset=us-ascii", "Content-Transfer-Encoding": "7bit", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "net: Add skb_queue_walk_from() and skb_queue_walk_from_safe().\n\nThese will be used by TCP write queue handling and elsewhere.\n\nSigned-off-by: David S. Miller <davem@davemloft.net>\n---\n include/linux/skbuff.h | 9 +++++++++\n 1 files changed, 9 insertions(+), 0 deletions(-)", "diff": "diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h\nindex d2f1778..a19ea43 100644\n--- a/include/linux/skbuff.h\n+++ b/include/linux/skbuff.h\n@@ -1571,6 +1571,15 @@ static inline int pskb_trim_rcsum(struct sk_buff *skb, unsigned int len)\n \t\t skb != (struct sk_buff *)(queue);\t\t\t\t\\\n \t\t skb = tmp, tmp = skb->next)\n \n+#define skb_queue_walk_from(queue, skb)\t\t\t\t\t\t\\\n+\t\tfor (; prefetch(skb->next), (skb != (struct sk_buff *)(queue));\t\\\n+\t\t skb = skb->next)\n+\n+#define skb_queue_walk_from_safe(queue, skb, tmp)\t\t\t\t\\\n+\t\tfor (tmp = skb->next;\t\t\t\t\t\t\\\n+\t\t skb != (struct sk_buff *)(queue);\t\t\t\t\\\n+\t\t skb = tmp, tmp = skb->next)\n+\n #define skb_queue_reverse_walk(queue, skb) \\\n \t\tfor (skb = (queue)->prev;\t\t\t\t\t\\\n \t\t prefetch(skb->prev), (skb != (struct sk_buff *)(queue));\t\\\n", "prefixes": [] }