Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751454AbdIEOIR (ORCPT ); Tue, 5 Sep 2017 10:08:17 -0400 Received: from mail-bn3nam01on0115.outbound.protection.outlook.com ([104.47.33.115]:41520 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750858AbdIEOIP (ORCPT ); Tue, 5 Sep 2017 10:08:15 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Joe.Korty@concurrent-rt.com; Date: Tue, 5 Sep 2017 10:08:09 -0400 From: joe.korty@concurrent-rt.com To: Sasha Levin Cc: Jesse Gross , LKML Subject: Re: tunnels: Don't apply GRO to multiple layers of encapsulation. Message-ID: <20170905140808.GA5970@zipoli.concurrent-rt.com> Reply-To: "Joe Korty" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [12.220.59.2] X-ClientProxiedBy: DM3PR12CA0072.namprd12.prod.outlook.com (10.161.151.144) To DM5PR11MB1483.namprd11.prod.outlook.com (10.172.36.142) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 105d95ca-94e1-4b77-5ee9-08d4f4678b8a X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(2017082002075)(300000503095)(300135400095)(2017052603199)(201703131423075)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:DM5PR11MB1483; X-Microsoft-Exchange-Diagnostics: 1;DM5PR11MB1483;3:rY+G5i+0SRw8r5a+036eEsQzSLjVSM5gAqZIK8g8JgCu3PbrVhclE8SeFtG1MUV5ot8j/uYu0CML5C3PF6Ye7Tsc2P4AIfF82yvqeZ1OLzg2bGSKRu6C3t7Rncndafqnmvl5T6VQA0rbzEHb13I3T44VbuxTExJ8w1xFmAygjc0iwKrGIWOLRFXZ9tRfw1ZHzT5kAg1UyEiwD1xEOzU8bejk62P1ExeBlx9fNlDHfDsNEsdyPEC/U6wWOMosVJvG;25:8dTzeb6D+zd4QfrapgjNAQn/Zg7dkUkdvuzu7VAaa7uKXgdMs0H2vsoipwnkovpIexjQQJKaGOUrotVf0eBs/0EeMwlxsAMzu1S0bPZBsZCRw8+34Alk85JfsIwxCNNGcFISnaiIlQNkSSkwFkA5WEj9nCrMWgA568Mu2N0iAZKPrTaW8jUGjPvW77eTv2QMehk9wgK+dD6mAMmnMz5AtBW4EE9GcVHbRewh8NJbeBM/p8dr5AjAl1JqsBtLrB+7sNZhU28fRKN5LedwNiIcvoVsNQzJqUqNlmQ2Ds+/dwT4XafzE/T6SsfCsgQBF+E0B8INWFYEYsEKakYgZHLmtA==;31:wvWEXwB8aaVnGLQe/tD3lzkzR1+OAJL0t5YCfbog5/ZEQlIhFBv+LTPvfSD79PoF70+KOhZjYdtb14Ph1gmj3kgkeSBz52KoqH44O57krZHo4+Morg4T66MdJe99neVcNw1JWVUGj6RQfa/lqjm+jEbTkRbzEyN5mbEpQWpEiVi+BSNc5Cy68X9wEFNBOG4qwLJKzaCABVzkWjLW9E1ZNFsUiE8IGkeYmQFCmEzgDzY= X-MS-TrafficTypeDiagnostic: DM5PR11MB1483: X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(20161123555025)(2016111802025)(20161123562025)(20161123558100)(6072148)(6043046)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DM5PR11MB1483;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DM5PR11MB1483; X-Microsoft-Exchange-Diagnostics: 1;DM5PR11MB1483;4:PyvO4qF6QXld/6GrT2hHG5ize2YCFzwEH5gcY4fsGWAqPdnFZqyCNXqa+315kQPUBQ2R2iOTMSmzaXubO+GHrukNCVf8anKNoJUNUEvVQFKY0v5PAqpHUOFJnxFJ0RDhTnQ1mcsHtDUIqd3hHX2AFNnDzsdcUO+4pEW/PAlpViFRsHQElbD1sWhm8slF7WyTSba73ejfJ1ie6/zyd3cIDn3I5s6inCL2FhEHe5yutAjrKcSv6jzuBXxOTEnlmXSy X-Forefront-PRVS: 0421BF7135 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6009001)(39830400002)(189002)(199003)(24454002)(105586002)(23726003)(97736004)(6666003)(305945005)(4326008)(1076002)(6246003)(4001350100001)(72206003)(53416004)(53936002)(69596002)(110136004)(86362001)(575784001)(5660300001)(6916009)(106356001)(7736002)(68736007)(42186005)(55016002)(54906002)(478600001)(9686003)(189998001)(3846002)(101416001)(6116002)(8936002)(43066003)(50986999)(83506001)(66066001)(81156014)(81166006)(47776003)(229853002)(8676002)(33656002)(25786009)(2906002)(54356999)(50466002)(85782001)(18370500001)(85772001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR11MB1483;H:zipoli.concurrent-rt.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM5PR11MB1483;23:AHbbz8ew4X5CGT+PfakrmZtR2j3irwsvoNnDwx2Mu?= =?us-ascii?Q?ROBeFbjf6ASXlGyxItfT6Vukcj6xP4KeoXVXi8X9VsZI0+0UyCAnOjk2uzjc?= =?us-ascii?Q?NVxcazwlzV2gypONoMiD4ikq6PSYpNe4EaWqAshILNeLCjFbFzZzACepo6yT?= =?us-ascii?Q?7SFffLbhX0uCaqRFHu88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EyK3ftJgwlfuSnFkuOZnZivho8w3nFAhir4/V5NVxvipOlF0HhlphLHmKi0saGJg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: concurrent-rt.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Sep 2017 14:08:12.3023 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38747689-e6b0-4933-86c0-1116ee3ef93e X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1483 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1382 Lines: 46 Hi Sasha, The backport of fac8e0f579695a3ecbc4d3cac369139d7f819971 tunnels: Don't apply GRO to multiple layers of encapsulation into 4.1 missed a hunk. The same backport into 3.18 was done correctly. This patch introduces the missing hunk into 4.1. Excepts from some emails: Joe Korty wrote: > I am not experiencing any bad symptoms. I simply noticed > that the patch introduced a new function, sit_gro_receive, > without introducing any users, and that same patch in > linux-4.4.y does have a user. Jesse gross wrote: > Thanks for pointing that out. The line you mentioned > should indeed be there and seems to have been missed in > the backport. > > The backport was actually done by Sasha, not by me - > would you mind sending a patch to him or working with him > to fix it? Could you review this and run it through your tests and send it along to Greg if appropriate? Thanks, Joe Signed-off-by: Joe Korty Index: b/net/ipv6/ip6_offload.c =================================================================== --- a/net/ipv6/ip6_offload.c +++ b/net/ipv6/ip6_offload.c @@ -300,7 +300,7 @@ static struct packet_offload ipv6_packet .type = cpu_to_be16(ETH_P_IPV6), .callbacks = { .gso_segment = ipv6_gso_segment, - .gro_receive = ipv6_gro_receive, + .gro_receive = sit_gro_receive, .gro_complete = ipv6_gro_complete, }, };