udev: net_setup_link: don't error out when we couldn't apply link config (#7328)
authorMichal Sekletar <msekletar@users.noreply.github.com>
Tue, 14 Nov 2017 18:29:37 +0000 (19:29 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 14 Nov 2017 18:29:37 +0000 (19:29 +0100)
commit56692c5dbc89137e78b02007b6580c7c3e974518
tree6589b0c6fb0199208f9cf979921f41b2b7768129
parent9efebb65d4b585d2bfef3e2262955577742492ba
udev: net_setup_link: don't error out when we couldn't apply link config (#7328)

It is possible that kernel will reject our netlink message that
configures the link. However, we should always make sure that interface
will be named properly otherwise we can leave interfaces having
unpredictable kernel names. Thus we don't return early and continue to
export name and link file properties.

Suggested-by: Tom Gundersen <teg@jklm.no>
src/udev/udev-builtin-net_setup_link.c