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 X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C00AEC43613 for ; Thu, 20 Jun 2019 19:01:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9A380206BA for ; Thu, 20 Jun 2019 19:01:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726418AbfFTTBs (ORCPT ); Thu, 20 Jun 2019 15:01:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57770 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725905AbfFTTBs (ORCPT ); Thu, 20 Jun 2019 15:01:48 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 47FD83086209; Thu, 20 Jun 2019 19:01:43 +0000 (UTC) Received: from localhost (unknown [10.36.112.13]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DD72B608D0; Thu, 20 Jun 2019 19:01:39 +0000 (UTC) Date: Thu, 20 Jun 2019 21:01:35 +0200 From: Stefano Brivio To: David Ahern Cc: David Miller , Jianlin Shi , Wei Wang , Martin KaFai Lau , Eric Dumazet , Matti Vaittinen , netdev@vger.kernel.org Subject: Re: [PATCH net-next v6 06/11] ipv6/route: Don't match on fc_nh_id if not set in ip6_route_del() Message-ID: <20190620210135.46bee931@redhat.com> In-Reply-To: <402be9f4-262c-b185-46a9-d5d4bb531cf1@gmail.com> References: <18a49a3a5d0274df90f059f37d3601abd0bac879.1560987611.git.sbrivio@redhat.com> <402be9f4-262c-b185-46a9-d5d4bb531cf1@gmail.com> Organization: Red Hat MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Thu, 20 Jun 2019 19:01:48 +0000 (UTC) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, 20 Jun 2019 08:16:28 -0600 David Ahern wrote: > On 6/19/19 5:59 PM, Stefano Brivio wrote: > > If fc_nh_id isn't set, we shouldn't try to match against it. This > > actually matters just for the RTF_CACHE case below (where this is > > already handled): if iproute2 gets a route exception and tries to > > delete it, it won't reference its fc_nh_id, even if a nexthop > > object might be associated to the originating route. > > > > Fixes: 5b98324ebe29 ("ipv6: Allow routes to use nexthop objects") > > Signed-off-by: Stefano Brivio > > --- > > v6: New patch > > > > net/ipv6/route.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > Thanks for catching that. Your recent addition to pmtu.sh did it :) -- Stefano