Thread (12 messages) 12 messages, 2 authors, 2017-12-28

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

flat view

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2017-12-28 18:20:07

On Wed, 20 Dec 2017 09:37:30 +0200
Serhey Popovych [off-list ref] 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 <redacted>
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help