From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDA8DC433EF for ; Sat, 2 Jul 2022 01:31:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229808AbiGBBbz (ORCPT ); Fri, 1 Jul 2022 21:31:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229775AbiGBBby (ORCPT ); Fri, 1 Jul 2022 21:31:54 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E0BE1D0CA for ; Fri, 1 Jul 2022 18:31:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D174B60B62 for ; Sat, 2 Jul 2022 01:31:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 009FFC3411E; Sat, 2 Jul 2022 01:31:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656725512; bh=HOU3ON1ABsBKjHglEymswODqYCtPv2TTNyb21o6M2nw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Mxco65bqnWl8iWKBdbXAXpSk4TslDbxwchjmHg9DFqOVHjdm+OKDYJfKXs/6Q3MhB oWD9G2eHQ3qKcVjoSnhUuiGlbLH/HHWLKROW/jWz+vkKKNOVzloUwovR4KxBT3GvNR mMy/jy5TEIXaj8tecNgv1g7HYNoSlWW7M7fuVfrzsbIFeGFFHRFYnFSPeXrWTfQf2u xAsgAArfrb86ggImjDAMOy4ha4dA0aya3Rdd5YaVXKwCsl9JZYFx94VzzPpzRl2VUd DVcHGoeh3t5YkIvQOV8sClYNVjIerhoPY+Xe2y64DHPVVQy62UMocmQLABBlFzLIWh /mZzaZ2qPONAg== Date: Fri, 1 Jul 2022 18:31:51 -0700 From: Jakub Kicinski To: Aleksey Shumnik Cc: netdev@vger.kernel.org, David Ahern , Ido Schimmel Subject: Re: [PATCH] net/ipv4/ip_gre.c net/ipv6/ip6_gre.c: ip and gre header are recorded twice Message-ID: <20220701183151.1d623693@kernel.org> In-Reply-To: References: <20220622171929.77078c4d@kernel.org> <20220623202602.650ed2e6@kernel.org> <20220624101743.78d0ece7@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, 28 Jun 2022 18:18:27 +0300 Aleksey Shumnik wrote: > pre-up ip tunnel add mgre0 mode ip6gre local 4444::1111 key 1 ttl 64 tos inherit I can't get GRE6 tunnels to work as NBMA net at all. AFAICT ip6gre_tunnel_xmit() takes the endpoint addresses straight from the netdev, only ip6tnl seems to be doing a lookup. Am I doing it wrong?