platform: always try to refetch new ethernet links
authorBeniamino Galvani <bgalvani@redhat.com>
Tue, 26 Jan 2016 20:32:07 +0000 (21:32 +0100)
committerBeniamino Galvani <bgalvani@redhat.com>
Fri, 12 Feb 2016 13:41:56 +0000 (14:41 +0100)
commit97be12b6625e738856814403195b60f7ebc13bfe
tree0f56f42e7def9b44ca459ae4e9ec6623a05e980d
parentfa8c0877ce7e01af4bbf86298cf838e5adc6475f
platform: always try to refetch new ethernet links

Due to a kernel bug [1], we sometimes receive spurious NEWLINK
messages after a wifi interface has disappeared. Since the link is not
present anymore we can't determine its type and thus it will show up
as a Ethernet one, with no address specified.  Request the link again
to check if it really exists.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1302037

https://bugzilla.gnome.org/show_bug.cgi?id=761151
src/platform/nm-linux-platform.c