Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/814050/?format=api
{ "id": 814050, "url": "http://patchwork.ozlabs.org/api/patches/814050/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/CAMtaSwRk0ne+kG3ejH6685N=ByEAVOkvtyCbmPu9jTng3h2YNQ@mail.gmail.com/", "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": "<CAMtaSwRk0ne+kG3ejH6685N=ByEAVOkvtyCbmPu9jTng3h2YNQ@mail.gmail.com>", "list_archive_url": null, "date": "2017-09-15T05:04:27", "name": "[1/1] ipv6_skip_exthdr: use ipv6_authlen for AH header length computation", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "03fd3ee52af3149f24c217184574214b91f01bd6", "submitter": { "id": 72370, "url": "http://patchwork.ozlabs.org/api/people/72370/?format=api", "name": "Xiang Gao", "email": "qasdfgtyuiop@gmail.com" }, "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/CAMtaSwRk0ne+kG3ejH6685N=ByEAVOkvtyCbmPu9jTng3h2YNQ@mail.gmail.com/mbox/", "series": [ { "id": 3212, "url": "http://patchwork.ozlabs.org/api/series/3212/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=3212", "date": "2017-09-15T05:04:27", "name": "[1/1] ipv6_skip_exthdr: use ipv6_authlen for AH header length computation", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/3212/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/814050/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/814050/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=\"W4Fs6IP1\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xtjxv5D3Yz9s82\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri, 15 Sep 2017 15:04:51 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1750873AbdIOFEt (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tFri, 15 Sep 2017 01:04:49 -0400", "from mail-qt0-f194.google.com ([209.85.216.194]:37763 \"EHLO\n\tmail-qt0-f194.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1750767AbdIOFEs (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Fri, 15 Sep 2017 01:04:48 -0400", "by mail-qt0-f194.google.com with SMTP id u48so855416qtc.4\n\tfor <netdev@vger.kernel.org>; Thu, 14 Sep 2017 22:04:48 -0700 (PDT)", "by 10.200.15.139 with HTTP; Thu, 14 Sep 2017 22:04:27 -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;\n\tbh=BlR+l2zP62zgGIMI7fvTCnME9TiEF/Nfqdlm40Mae+A=;\n\tb=W4Fs6IP1gFaol2zbAspJGuEMOU2rDHWsK1ZQdzygmZ4gc9znxkqKxHK9W9nHOiU6Il\n\tKnUxNACExk9weM1dr0i8z4n4BWr64l+3dusaFIIGbwXaUSCG9tMRihG7WxV3AI697dH6\n\tkSOWQxm2Uq9PzbUhKdFAfSJ+1kPesQ7s+yWttW5GrlNb5NQQPAVp28ILo4krG23bjmfu\n\tscVKhYNjtBLZwmtff3xRvH3Ma4oolMhWk1h5/QaT9UvhSfxxmdSoSbQS0hzO66tB9HFn\n\t7maynlLySBXuaFbAas2LHp4FHNpB+pgeMvBdF2PW4cRmXVkxDnbVQCbTbj8oPo3gBqNG\n\tU3eQ==", "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;\n\tbh=BlR+l2zP62zgGIMI7fvTCnME9TiEF/Nfqdlm40Mae+A=;\n\tb=cJ5wRIBG1qKiqmWPrElihfEDAwg7MG5cHYDL3UvMYkqok1kYLnDbVJ3+VDs6jmD3Tc\n\tM8KxXGQZ4dQLfSHUFP0U9YHDGcOr8uwL123o+usnnxdZaDLSU/tZUakXpUdRUvneBImB\n\t5L7SNsJqsz9C2HE93cRtouBTxgqjdm+agSnVC+6HzZmo63jCTmbWaGbtwJ3wR6+fSuhk\n\tCbLg/YM7EV8jHl+vXb/HcfYIDwP6tbYrSSiGKplHC8FRNp5OPhKDd2pnGp68JnPl+DYl\n\tY1kZNpKEDNdJxyydDBsMbF7z+Vy2qrNEyR/a4nFVtlxxfJ12QRN+sfOrsdhIk91AIScu\n\tAECg==", "X-Gm-Message-State": "AHPjjUhQVa5bOYuHMo/J5IfRd8oUzJNkeRzQOr4rbZNn9ttuLqIqY6yk\n\t0FfR5qBgxf1LtQD2kR3IqxSisqJLTtP6r9XERjE=", "X-Google-Smtp-Source": "AOwi7QCTq/GTCI19c/8VODxy+fP2lYC4X4kp5g9Hit/PAhOLwYQNncPQ4jfsv6A+Z2Tze9I49pN3mnL8SEsEMQWEggg=", "X-Received": "by 10.200.49.36 with SMTP id g33mr33329367qtb.221.1505451888080; \n\tThu, 14 Sep 2017 22:04:48 -0700 (PDT)", "MIME-Version": "1.0", "From": "Xiang Gao <qasdfgtyuiop@gmail.com>", "Date": "Fri, 15 Sep 2017 01:04:27 -0400", "Message-ID": "<CAMtaSwRk0ne+kG3ejH6685N=ByEAVOkvtyCbmPu9jTng3h2YNQ@mail.gmail.com>", "Subject": "[PATCH 1/1] ipv6_skip_exthdr: use ipv6_authlen for AH header length\n\tcomputation", "To": "trivial@kernel.org, netdev@vger.kernel.org,\n\t\"David S. Miller\" <davem@davemloft.net>,\n\tAlexey Kuznetsov <kuznet@ms2.inr.ac.ru>,\n\tHideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>", "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": "From 09cf2e3cf09cf591283785aaa8159baf39ac2e08 Mon Sep 17 00:00:00 2001\nFrom: Xiang Gao <qasdfgtyuiop@gmail.com>\nDate: Fri, 15 Sep 2017 00:44:12 -0400\nSubject: [PATCH] ipv6_skip_exthdr: use ipv6_authlen for AH hdrlen\n\nIn ipv6_skip_exthdr, the lengh of AH header is computed manually\nas (hp->hdrlen+2)<<2. However, in include/linux/ipv6.h, a macro\nnamed ipv6_authlen is already defined for exactly the same job. This\ncommit replaces the manual computation code with the macro.\n---\n net/ipv6/exthdrs_core.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/net/ipv6/exthdrs_core.c b/net/ipv6/exthdrs_core.c\nindex 305e2ed730bf..115d60919f72 100644\n--- a/net/ipv6/exthdrs_core.c\n+++ b/net/ipv6/exthdrs_core.c\n@@ -99,7 +99,7 @@ int ipv6_skip_exthdr(const struct sk_buff *skb, int\nstart, u8 *nexthdrp,\n break;\n hdrlen = 8;\n } else if (nexthdr == NEXTHDR_AUTH)\n- hdrlen = (hp->hdrlen+2)<<2;\n+ hdrlen = ipv6_authlen(hp);\n else\n hdrlen = ipv6_optlen(hp);\n", "prefixes": [ "1/1" ] }