Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp702727pxa; Tue, 11 Aug 2020 12:51:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZ+2Q1zG7kknqs4LeG/TyjDwWxcFdZ2my+Q8MmWkm6agw0B4TJqPIPBvxMlWUWR1xsbt2j X-Received: by 2002:a50:fe98:: with SMTP id d24mr9793066edt.283.1597175471265; Tue, 11 Aug 2020 12:51:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597175471; cv=none; d=google.com; s=arc-20160816; b=FciOJoOdqCIYgkl5ng9VnxnctJvmaZI3+llD78+45P9K2Tz92NmBNgEsHolOW6j8ig PuwNEVDRAFVDmA7cOqg1VW0MOC/J1yflGRTLfoA+baEj+jUbS3N3ZcTqS2RPJLmsFfvp PxRrx4DOQgjFbvSBKAlMTwdQEl5Ie9F0w57CyHRUv+sdZI3NHFKarYjbk9aKy+2eBL23 KK7mmZONpErxe11pt3wExN8dDPzSTCBX4Ye2a3cwMjfGkN/c5znimWYcoc7hV24TDJrS EwmUcrmCUrkapwqUbAfic5pbPZXNMhOqyGK3S3T8EX/VbUX4mep/bIngtzf7G9P1h9DI oAXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=DwqrTLQnS6fjFlO1mJ2lCxMpXY3v8dVZG7vx/OeBnAs=; b=VWEvTvpBlKXC2q72ahyCkE1nVkiHCmGsMSBujJUHvRqtV60uD5tu9SppJ94fvizevF UPdeH1cYTufQBEwj9y1oJHoZji5p2IZWjCzcMAJ4n3OyEnAmX6fQjownSyWJRHBCgHDx tPXfFWEpxuhq46VEyS3LNXBI6kO8a67N7Fw9CXGEGMseJslBzdwO7NS4QEmtOHl/4VQB DJaYw552pFR23lncwo965SnhHvHxMeszgS7VMLDlv5ltDOvFqKC+/vp6qz7hsk7SVdOU bNI5kfSmraVkZAgfc1uuU0OIxoX0jYzMw12HBTYWHsdAr1wxursy097W+cS3ApRMMcLJ 4wJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b=tsje6rQn; 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=NONE dis=NONE) header.from=efficios.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b3si15772544edn.98.2020.08.11.12.50.46; Tue, 11 Aug 2020 12:51:11 -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=@efficios.com header.s=default header.b=tsje6rQn; 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=NONE dis=NONE) header.from=efficios.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726430AbgHKTuM (ORCPT + 99 others); Tue, 11 Aug 2020 15:50:12 -0400 Received: from mail.efficios.com ([167.114.26.124]:58192 "EHLO mail.efficios.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725889AbgHKTuM (ORCPT ); Tue, 11 Aug 2020 15:50:12 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id DAE422CFA31; Tue, 11 Aug 2020 15:50:11 -0400 (EDT) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id YVx5N7hH33_8; Tue, 11 Aug 2020 15:50:11 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 947262CFB20; Tue, 11 Aug 2020 15:50:11 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 947262CFB20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=default; t=1597175411; bh=DwqrTLQnS6fjFlO1mJ2lCxMpXY3v8dVZG7vx/OeBnAs=; h=From:To:Date:Message-Id; b=tsje6rQnilZZGtjqq2xh8rjcJGMfZCpTyroUDD9Emz5I1+Af2MOw1Wz3qK3tfGl/N KJmsPeLlwsfaT1cinv2l1hRhgXNhzJ6fXSH5aHh5Olm5UFdwHGx8oHISCHZXMkCTjr iOQE5IjQiW2DaXlgHoLP91m68g7xnnDlB5omw24MAH6k11UyS7iZD3tpe9MDpI6a9s JhV0rfZhsvJ2GvX3H3cjcLrwAQu8ys/Hv2sM6kslxCb3PgDDLtf0ad3cd/TWBT5KB4 rbrpex1WlP8WAXAiyo9WNd6wsmaiR1cqEED+fa3CKht2cdbgNl+7ylRalEiMfPhZGc pjy7ut//JfpsA== X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Gjib0gfB4uCE; Tue, 11 Aug 2020 15:50:11 -0400 (EDT) Received: from localhost.localdomain (192-222-181-218.qc.cable.ebox.net [192.222.181.218]) by mail.efficios.com (Postfix) with ESMTPSA id 56E012CFB1F; Tue, 11 Aug 2020 15:50:11 -0400 (EDT) From: Mathieu Desnoyers To: David Ahern Cc: linux-kernel@vger.kernel.org, Mathieu Desnoyers Subject: [PATCH 0/3] l3mdev icmp error route lookup fixes Date: Tue, 11 Aug 2020 15:50:00 -0400 Message-Id: <20200811195003.1812-1-mathieu.desnoyers@efficios.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Here is a series of fixes for ipv4 and ipv6 which which ensure the route lookup is performed on the right routing table in VRF configurations. It includes a test for both ipv4 and ipv6. The series has been rebased on the net tree. Thanks, Mathieu Mathieu Desnoyers (2): ipv4/icmp: l3mdev: Perform icmp error route lookup on source device routing table ipv6/icmp: l3mdev: Perform icmp error route lookup on source device routing table Michael Jeanson (1): selftests: Add VRF icmp error route lookup test net/ipv4/icmp.c | 15 +- net/ipv6/icmp.c | 15 +- net/ipv6/ip6_output.c | 2 - tools/testing/selftests/net/Makefile | 1 + .../selftests/net/vrf_icmp_error_route.sh | 429 ++++++++++++++++++ 5 files changed, 456 insertions(+), 6 deletions(-) create mode 100755 tools/testing/selftests/net/vrf_icmp_error_route.sh -- 2.17.1