From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH v2] fib_rules: match rules based on suppress_* properties too Date: Wed, 27 Jun 2018 10:34:17 +0900 (KST) Message-ID: <20180627.103417.614359212764375850.davem@davemloft.net> References: <20180625233932.11531-1-Jason@zx2c4.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: roopa@cumulusnetworks.com, netdev@vger.kernel.org To: Jason@zx2c4.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:47554 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752258AbeF0BeV (ORCPT ); Tue, 26 Jun 2018 21:34:21 -0400 In-Reply-To: <20180625233932.11531-1-Jason@zx2c4.com> Sender: netdev-owner@vger.kernel.org List-ID: From: "Jason A. Donenfeld" Date: Tue, 26 Jun 2018 01:39:32 +0200 > Two rules with different values of suppress_prefix or suppress_ifgroup > are not the same. This fixes an -EEXIST when running: > > $ ip -4 rule add table main suppress_prefixlength 0 > > Signed-off-by: Jason A. Donenfeld > Fixes: f9d4b0c1e969 ("fib_rules: move common handling of newrule delrule msgs into fib_nl2rule") Roopa, thanks for doing all of that analysis. I think applying this patch makes the most sense at this point, so that it what I have done.