]> git.ipfire.org Git - thirdparty/iproute2.git/commit
lib: suppress error msg when filling the cache
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 24 May 2019 08:59:10 +0000 (10:59 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 28 May 2019 19:23:52 +0000 (12:23 -0700)
commit757837230a654d39623d0b90882b695a2facd107
treeac668c2ae5bacf5128e90c98e38d27106ae40c66
parent1bb38f6c5e46d33bc983541a814178690646ae46
lib: suppress error msg when filling the cache

Before the patch:
$ ip netns add foo
$ ip link add name veth1 address 2a:a5:5c:b9:52:89 type veth peer name veth2 address 2a:a5:5c:b9:53:90 netns foo
RTNETLINK answers: No such device
RTNETLINK answers: No such device

But the command was successful. This may break script. Let's remove those
error messages.

Fixes: 55870dfe7f8b ("Improve batch and dump times by caching link lookups")
Reported-by: Philippe Guibert <philippe.guibert@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/ll_map.c