[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160830115156.GB17087@unicorn.suse.cz>
Date: Tue, 30 Aug 2016 13:51:56 +0200
From: Michal Kubecek <mkubecek@...e.cz>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: "Andrey Jr. Melnikov" <temnota.am@...il.com>,
Stephen Hemminger <shemminger@...l.org>, netdev@...r.kernel.org
Subject: Re: [PATCH] iproute: disallow ip rule del without parameters
On Mon, Aug 29, 2016 at 10:53:25AM -0700, Stephen Hemminger wrote:
> On Wed, 24 Aug 2016 23:43:00 +0300
> "Andrey Jr. Melnikov" <temnota.am@...il.com> wrote:
>
> > Disallow run `ip rule del` without any parameter to avoid delete any first
> > rule from table.
...
> Actually ip rule delete without arguments deletes all rules.
> Which could be a bug or feature depending on the user.
> I can imagine somebody is doing something like deleting all rules
> and putting in new ones for PBR.
We have "ip rule flush" for that, don't we?
Michal Kubecek
Powered by blists - more mailing lists