From mboxrd@z Thu Jan 1 00:00:00 1970 From: Donald Sharp Subject: Re: [PATCH 0/3] Allow 'ip rule' command to use protocol Date: Sat, 17 Feb 2018 19:01:49 -0500 Message-ID: References: <20180217124753.2879-1-sharpd@cumulusnetworks.com> <97fd7a4e-76ee-722b-6a58-92c30b1264ae@cumulusnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: netdev@vger.kernel.org To: David Ahern Return-path: Received: from mail-wm0-f65.google.com ([74.125.82.65]:53364 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751083AbeBRABv (ORCPT ); Sat, 17 Feb 2018 19:01:51 -0500 Received: by mail-wm0-f65.google.com with SMTP id t74so9134198wme.3 for ; Sat, 17 Feb 2018 16:01:50 -0800 (PST) In-Reply-To: <97fd7a4e-76ee-722b-6a58-92c30b1264ae@cumulusnetworks.com> Sender: netdev-owner@vger.kernel.org List-ID: Got it. I'll send an update. donald On Sat, Feb 17, 2018 at 6:35 PM, David Ahern wrote: > On 2/17/18 5:47 AM, Donald Sharp wrote: >> Fix iprule.c to use the actual `struct fib_rule_hdr` and to >> allow the end user to see and use the protocol keyword >> for rule manipulations. >> >> Donald Sharp (3): >> ip: Use the `struct fib_rule_hdr` for rules >> ip: Display ip rule protocol used >> ip: Allow rules to accept a specified protocol >> >> include/linux/fib_rules.h | 2 +- >> ip/iprule.c | 114 ++++++++++++++++++++++++++-------------------- >> 2 files changed, 65 insertions(+), 51 deletions(-) >> > > you are missing a patch to add protocol to iprule_list_flush_or_save so > 'ip ru flush proto NAME' flushes all rules with that protocol.