Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3435022pxk; Mon, 5 Oct 2020 09:33:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziVNj7ZbhknBVDxkUflsXH8xH2xDHealSxz57irxqG05DAZLBoRRd4f/de0q8rc823LZ0P X-Received: by 2002:a17:906:8401:: with SMTP id n1mr518899ejx.215.1601915602394; Mon, 05 Oct 2020 09:33:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601915602; cv=none; d=google.com; s=arc-20160816; b=l8X+CCMg3XDC8ffKWPS8Ch9W75GWGS9XiuBRrP3zcOMlnYJ6eDc6xBIIzm3qQb3J44 oQdEcuJt6eEbMbxvdFX1F3lb0XjZZ6l+6cXuBTVztvBcZ+GKs8+GRLZMhqIlf1vzjclB 8h/1cAdnnR8AzZoMeTva0spprMAj7J9ToG9WYcMPQBvIqz9F8L7x4x8iTCtaGrcv6VJD GhAuXJBihjovdZXSnvVw6m1zQK7pmdFn6467qzuoMODzf9GUKoUkmjBUD3eU/qxDAg7+ rOCYIN12oJq1SdEULfVs8j6LQfemiS4VNMEIoiaYVJuTSfOJdgY6zM4qAiesAxiD3O1h oM3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=R9YlX6EHFx6XpkeTPJP/qBg1UOWza/IdabqBeotO5BA=; b=IEv5gpYRNaQt4E6BlqCNKIbAT9NHYoAxzP6axrjwg/IEWLvqGVREJ2eBYel664LabG VL59ZRnVtriwEvsXJATKDmfRqLIiZ+oSw8X6c0NneGDRsIatLdj6KwNii6JQtj+kRcbZ SbPQKFXwohUvg3l0BUTlSUnPZMFuXbSmftJRCq8A6ejkJMF1krBqMc3DKIW/5/WslndK WoTG6iUQBsQN88SyFgcQu7PdHFxoJF/V6dOCK9SbLwzjjparDhSS/9Hxp57bOaoFgY+l U0P62dSYp9jHYcbiSkkJkprSo9jLeO3a8yP/VOERQW+UtyD8F/J1QprfEt+sCRQf85v/ hZ+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u8zTk1rm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s18si118303ejd.51.2020.10.05.09.32.59; Mon, 05 Oct 2020 09:33:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u8zTk1rm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728993AbgJEQbB (ORCPT + 99 others); Mon, 5 Oct 2020 12:31:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727006AbgJEQbA (ORCPT ); Mon, 5 Oct 2020 12:31:00 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1BAAC0613CE; Mon, 5 Oct 2020 09:31:00 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id q123so7286876pfb.0; Mon, 05 Oct 2020 09:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=R9YlX6EHFx6XpkeTPJP/qBg1UOWza/IdabqBeotO5BA=; b=u8zTk1rmTsRmGbyzlaYoVkYKtZd+igHJXOUsykswC3bdFY8/rbDimGh3bLfkS1ewv6 mlN+e/5rCfetbOo8SxyH+Jz5TEdadGodn0ILXwgCuyATw6qyrq1IGw79ea3LEligM5uT vTWs4Ix6J5xThuJuqxDuYtaLK1fkVuPl9sOreeLCylkopGJCYm4oy/VuNg2awlZmjHrQ JLfcyVJOnYndBN5JFC8xikI6RpL7QBFAKHBCKq2mIAyCuRAQDGj3+gE3lYUUwC+ccLw6 6xaaYyjNYRB4c2qwIJx4MsCC9hUHdPxwkxsuW17d6GwWuLVnYQHDKZRKYubBIn7qfnsz 9qsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=R9YlX6EHFx6XpkeTPJP/qBg1UOWza/IdabqBeotO5BA=; b=f8BEK7E74y8mMrJrWKz0nEGuOEwzL/4x29YLxoLRv/P+g3rXAF18be5uDb+pEKonj5 Cn4+eHH+5eWSCXLrj85q6L4r+EszlD9hpWshubF1ZLK7cKjn3nkLW2nc5eOw7V3nK3m4 cvpLE8bISFMblzU6M5wLSqXbnUPJpZgkSz1YgnOdM0BVRJ1x8mt9YwbaPIxbO9/pCRiu V32cZPuT9YIY5RdG2nzoftyUasbFX2OKis46s3QjN/e2P2I7MSucG+gTuWDJsyY1Jc9r rPkdpKCSnwU/jKAk5ZQVbGIIdM+drRJPUwMVrf7JD89/8yGpuDCbAkOg0/RUJ79kn3Hs a6Yw== X-Gm-Message-State: AOAM532lRcqMUD8NbiS/R1LkzNoJT/jECJFwMoXSIK3chcMSs+0kJ5dh t2kT0u1Nq5Zlg0CTqlZ4VPQMRxfRrt8= X-Received: by 2002:a63:4951:: with SMTP id y17mr237392pgk.375.1601915460010; Mon, 05 Oct 2020 09:31:00 -0700 (PDT) Received: from Davids-MacBook-Pro.local ([72.164.175.30]) by smtp.googlemail.com with ESMTPSA id h31sm110056pgh.71.2020.10.05.09.30.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Oct 2020 09:30:58 -0700 (PDT) Subject: Re: [RFC PATCH 0/3] l3mdev icmp error route lookup fixes To: Mathieu Desnoyers , David Ahern , "David S . Miller" , netdev@vger.kernel.org, Michael Jeanson Cc: linux-kernel@vger.kernel.org References: <20200925200452.2080-1-mathieu.desnoyers@efficios.com> From: David Ahern Message-ID: Date: Mon, 5 Oct 2020 09:30:58 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <20200925200452.2080-1-mathieu.desnoyers@efficios.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/25/20 1:04 PM, Mathieu Desnoyers wrote: > Hi, > > Here is an updated series of fixes for ipv4 and ipv6 which which ensure > the route lookup is performed on the right routing table in VRF > configurations when sending TTL expired icmp errors (useful for > traceroute). > > It includes tests for both ipv4 and ipv6. > > These fixes address specifically address the code paths involved in > sending TTL expired icmp errors. As detailed in the individual commit > messages, those fixes do not address similar icmp errors related to > network namespaces and unreachable / fragmentation needed messages, > which appear to use different code paths. > > The main changes since the last round are updates to the selftests. > This looks fine to me. I noticed the IPv6 large packet test case is failing; the fib6 tracepoint is showing the loopback as the iif which is wrong: ping6 8488 [004] 502.015817: fib6:fib6_table_lookup: table 255 oif 0 iif 1 proto 58 ::/0 -> 2001:db8:16:1::1/0 tos 0 scope 0 flags 0 ==> dev lo gw :: err -113 I will dig into it later this week.