Subject: Re: [PATCH iproute2 2/3] utils: ll_map: Update name and type for existing entry

From: Stephen Hemminger <[email-masked]>
Date: Thu, 28 Dec 2017 09:46:45 -0800

On Wed, 20 Dec 2017 09:37:30 +0200
Serhey Popovych <[email-masked]> 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 <[email-masked]>

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.