[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171228094645.19549fcc@xeon-e3>
Date: Thu, 28 Dec 2017 09:46:45 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Serhey Popovych <serhe.popovych@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH iproute2 2/3] utils: ll_map: Update name and type for
existing entry
On Wed, 20 Dec 2017 09:37:30 +0200
Serhey Popovych <serhe.popovych@...il.com> wrote:
> In case of we update existing entry we need not only rehash
> but also update name in existing entry.
>
> Need to update device type too since cached interface might
> be deleted and new with same index, but different type
> added (e.g. eth0 and ppp0).
>
> Reuse new entry initialization path to avoid duplications.
>
> Signed-off-by: Serhey Popovych <serhe.popovych@...il.com>
Can you provide an example where this is an observed bug?
I suspect that unless you use a batch mode command the reload
of the cache on next invocation is solving this.
Powered by blists - more mailing lists