Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/623684/?format=api
{ "id": 623684, "url": "http://patchwork.ozlabs.org/api/patches/623684/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160518174447.2608.2234.stgit@localhost.localdomain/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20160518174447.2608.2234.stgit@localhost.localdomain>", "list_archive_url": null, "date": "2016-05-18T17:44:47", "name": "[net-next,1/2] ip6_gre: Do not allow segmentation offloads GRE_CSUM is enabled with FOU/GUE", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "e41771bb4a21f283f21c8ce460e76c12dd1d9e89", "submitter": { "id": 67293, "url": "http://patchwork.ozlabs.org/api/people/67293/?format=api", "name": "Alexander Duyck", "email": "aduyck@mirantis.com" }, "delegate": { "id": 68, "url": "http://patchwork.ozlabs.org/api/users/68/?format=api", "username": "jtkirshe", "first_name": "Jeff", "last_name": "Kirsher", "email": "jeffrey.t.kirsher@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160518174447.2608.2234.stgit@localhost.localdomain/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/623684/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/623684/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@lists.osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Received": [ "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3r91mk3Rkjz9s9W\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 19 May 2016 03:44:54 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 2138A959EB;\n\tWed, 18 May 2016 17:44:53 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id bBswMHeoZ7JY; Wed, 18 May 2016 17:44:52 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id A631A957FE;\n\tWed, 18 May 2016 17:44:52 +0000 (UTC)", "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 48B4F1C1E91\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 18 May 2016 17:44:51 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 40AF92F21B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 18 May 2016 17:44:51 +0000 (UTC)", "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id OdTmEUbAvwHf for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 18 May 2016 17:44:48 +0000 (UTC)", "from mail-pa0-f47.google.com (mail-pa0-f47.google.com\n\t[209.85.220.47])\n\tby silver.osuosl.org (Postfix) with ESMTPS id D40832F707\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 18 May 2016 17:44:48 +0000 (UTC)", "by mail-pa0-f47.google.com with SMTP id tb2so2453075pac.2\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 18 May 2016 10:44:48 -0700 (PDT)", "from localhost.localdomain\n\t(static-50-53-6-198.bvtn.or.frontiernet.net. [50.53.6.198])\n\tby smtp.gmail.com with ESMTPSA id\n\te7sm13758870pfa.28.2016.05.18.10.44.47\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 18 May 2016 10:44:47 -0700 (PDT)" ], "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=mirantis.com header.i=@mirantis.com\n\theader.b=V+44gglu; dkim-atps=neutral", "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "from auto-whitelisted by SQLgrey-1.7.6", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=mirantis.com;\n\ts=google; \n\th=subject:from:to:date:message-id:in-reply-to:references:user-agent\n\t:mime-version:content-transfer-encoding;\n\tbh=auyb0BfHukvJ6xS+bXED7UmhPtUKTUSV+Pb/gNcmPBU=;\n\tb=V+44gglugSYfvzE21fdDwYLwAAa5JAg11xngBbelhsEe8HPzhZzkVapt2/BHieGabX\n\t0+FmMT0pMxL7dZk/m8PijOHleV3gBs86jnjVplstQMibWtwJPu+gcmnRmuncf9pwoh9R\n\tk/g9DTvtnWRDW9VueZRhsYLf0XnMh1vCOdIxE=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:subject:from:to:date:message-id:in-reply-to\n\t:references:user-agent:mime-version:content-transfer-encoding;\n\tbh=auyb0BfHukvJ6xS+bXED7UmhPtUKTUSV+Pb/gNcmPBU=;\n\tb=JWYl4sDPfR8xipz54ByfJT3+lpu4QJbiyEastGU0sMlwld7Duu7P0E88Axj4pD0HGV\n\twlZ8h4koqRSW3wi8YgBwexblUa/6+UGEuPwQbEAQG+MXn3Jna3D9/EQzQDFhHoLHPmgg\n\tmz6we/maaEebBMlVYNbRjJmeGuSV//YiPF8tBUxQpbMOgoW7L/xVzAJ3aJXNmzAnE/1t\n\tZyAXlQ4VKwojZVDq9r7DS6ysgKrYNzBFZmEer2XQiQwoqeNObWhFAwEgadTKUZt+SUgh\n\tJ02qxxUXnj38vRSopU+RYnRjHpKwSfxWIkEjo9e+kI9Z1hQZ/Rds6Y04JDJILf3egUY1\n\tHxOQ==", "X-Gm-Message-State": "AOPr4FU/veLS4oqs59+Fjqg99fW4NVFAo19jLzQ/DNUm0Q8Bp8LGSM9aCy+LEyS5vFtyp6rB", "X-Received": "by 10.66.43.143 with SMTP id w15mr12928818pal.76.1463593488531; \n\tWed, 18 May 2016 10:44:48 -0700 (PDT)", "From": "Alexander Duyck <aduyck@mirantis.com>", "To": "tom@herbertland.com, alexander.duyck@gmail.com,\n\tintel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com,\n\tnetdev@vger.kernel.org, kernel-team@fb.com, davem@davemloft.net", "Date": "Wed, 18 May 2016 10:44:47 -0700", "Message-ID": "<20160518174447.2608.2234.stgit@localhost.localdomain>", "In-Reply-To": "<20160518173605.2608.42484.stgit@localhost.localdomain>", "References": "<20160518173605.2608.42484.stgit@localhost.localdomain>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [net-next PATCH 1/2] ip6_gre: Do not allow\n\tsegmentation offloads GRE_CSUM is enabled with FOU/GUE", "X-BeenThere": "intel-wired-lan@lists.osuosl.org", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>", "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>", "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>" }, "content": "This patch addresses the same issue we had for IPv4 where enabling GRE with\nan inner checksum cannot be supported with FOU/GUE due to the fact that\nthey will jump past the GRE header at it is treated like a tunnel header.\n\nSigned-off-by: Alexander Duyck <aduyck@mirantis.com>\n---\n net/ipv6/ip6_gre.c | 12 ++++++++----\n 1 file changed, 8 insertions(+), 4 deletions(-)", "diff": "diff --git a/net/ipv6/ip6_gre.c b/net/ipv6/ip6_gre.c\nindex 6fb1b89d0178..af503f518278 100644\n--- a/net/ipv6/ip6_gre.c\n+++ b/net/ipv6/ip6_gre.c\n@@ -1355,11 +1355,15 @@ static int ip6gre_newlink(struct net *src_net, struct net_device *dev,\n \tdev->hw_features\t|= GRE6_FEATURES;\n \n \tif (!(nt->parms.o_flags & TUNNEL_SEQ)) {\n-\t\t/* TCP segmentation offload is not supported when we\n-\t\t * generate output sequences.\n+\t\t/* TCP offload with GRE SEQ is not supported, nor\n+\t\t * can we support 2 levels of outer headers requiring\n+\t\t * an update.\n \t\t */\n-\t\tdev->features |= NETIF_F_GSO_SOFTWARE;\n-\t\tdev->hw_features |= NETIF_F_GSO_SOFTWARE;\n+\t\tif (!(nt->parms.o_flags & TUNNEL_CSUM) ||\n+\t\t (nt->encap.type == TUNNEL_ENCAP_NONE)) {\n+\t\t\tdev->features |= NETIF_F_GSO_SOFTWARE;\n+\t\t\tdev->hw_features |= NETIF_F_GSO_SOFTWARE;\n+\t\t}\n \n \t\t/* Can use a lockless transmit, unless we generate\n \t\t * output sequences\n", "prefixes": [ "net-next", "1/2" ] }