Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/814801/?format=api
{ "id": 814801, "url": "http://patchwork.ozlabs.org/api/patches/814801/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/d2c74a2e56e83dd5b0c9385dac4232d14f4c7f60.1505719061.git.rcochran@linutronix.de/", "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": "<d2c74a2e56e83dd5b0c9385dac4232d14f4c7f60.1505719061.git.rcochran@linutronix.de>", "list_archive_url": null, "date": "2017-09-18T07:41:18", "name": "[RFC,V1,net-next,3/6] net: ipv4: raw: Hook into time based transmission.", "commit_ref": null, "pull_url": null, "state": "rfc", "archived": true, "hash": "0903586912ba62c6be74c95f4df728668973a0a3", "submitter": { "id": 69550, "url": "http://patchwork.ozlabs.org/api/people/69550/?format=api", "name": "Richard Cochran", "email": "rcochran@linutronix.de" }, "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/d2c74a2e56e83dd5b0c9385dac4232d14f4c7f60.1505719061.git.rcochran@linutronix.de/mbox/", "series": [ { "id": 3574, "url": "http://patchwork.ozlabs.org/api/series/3574/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=3574", "date": "2017-09-18T07:41:16", "name": "Time based packet transmission", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/3574/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/814801/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/814801/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>)", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xwdLC2vSYz9s3w\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 18 Sep 2017 17:44:03 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752660AbdIRHna (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 18 Sep 2017 03:43:30 -0400", "from Galois.linutronix.de ([146.0.238.70]:49801 \"EHLO\n\tGalois.linutronix.de\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752574AbdIRHn1 (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Mon, 18 Sep 2017 03:43:27 -0400", "from rcochran by Galois.linutronix.de with local (Exim 4.80)\n\t(envelope-from <rcochran@linutronix.de>)\n\tid 1dtqgD-0006bT-S3; Mon, 18 Sep 2017 09:41:21 +0200" ], "From": "Richard Cochran <rcochran@linutronix.de>", "To": "<netdev@vger.kernel.org>", "Cc": "<linux-kernel@vger.kernel.org>, intel-wired-lan@lists.osuosl.org,\n\tAndre Guedes <andre.guedes@intel.com>,\n\tAnna-Maria Gleixner <anna-maria@linutronix.de>,\n\tDavid Miller <davem@davemloft.net>, Henrik Austad <henrik@austad.us>,\n\tJesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>,\n\tJohn Stultz <john.stultz@linaro.org>,\n\tThomas Gleixner <tglx@linutronix.de>,\n\tVinicius Costa Gomes <vinicius.gomes@intel.com>", "Subject": "[PATCH RFC V1 net-next 3/6] net: ipv4: raw: Hook into time based\n\ttransmission.", "Date": "Mon, 18 Sep 2017 09:41:18 +0200", "Message-Id": "<d2c74a2e56e83dd5b0c9385dac4232d14f4c7f60.1505719061.git.rcochran@linutronix.de>", "X-Mailer": "git-send-email 1.7.10.4", "In-Reply-To": "<cover.1505719061.git.rcochran@linutronix.de>", "References": "<cover.1505719061.git.rcochran@linutronix.de>", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "For raw packets, copy the desired future transmit time from the CMSG\ncookie into the skb.\n\nSigned-off-by: Richard Cochran <rcochran@linutronix.de>\n---\n net/ipv4/raw.c | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c\nindex 33b70bfd1122..f6805973629b 100644\n--- a/net/ipv4/raw.c\n+++ b/net/ipv4/raw.c\n@@ -381,6 +381,7 @@ static int raw_send_hdrinc(struct sock *sk, struct flowi4 *fl4,\n \n \tskb->priority = sk->sk_priority;\n \tskb->mark = sk->sk_mark;\n+\tskb->transmit_time = sockc->transmit_time;\n \tskb_dst_set(skb, &rt->dst);\n \t*rtp = NULL;\n \n@@ -555,6 +556,7 @@ static int raw_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)\n \t}\n \n \tipc.sockc.tsflags = sk->sk_tsflags;\n+\tipc.sockc.transmit_time = 0;\n \tipc.addr = inet->inet_saddr;\n \tipc.opt = NULL;\n \tipc.tx_flags = 0;\n", "prefixes": [ "RFC", "V1", "net-next", "3/6" ] }