NetworkManager/src/platform
Beniamino Galvani 39d0559d9a platform: sort links by name instead of ifindex
We should try to guarantee a stable activation order of connections
across reboots; this is required, for example, for bonds because they
get assigned the MAC address of the first device enslaved, and thus
changing the activation order of slaves means also changing the MAC
address of the bond. Since we activate connections in the order links
are discovered, having a stable sorting of links returned by platform
is enough.

The ifindex of interfaces can change between reboots as it depends on
the order in which kernel discover interfaces. Provided that the
system uses a mechanism to enforce persistent interface naming (as
udev rules or systemd-udevd predictable names), and that NM starts
after all interfaces have been announced by udev, using the interface
name instead of ifindex will guarantee a consistent order.
2017-03-27 21:51:55 +02:00
..
tests logging: log device and connection along with the message 2017-03-24 12:42:09 +01:00
wifi devices/arping-manager: log the device context 2017-03-24 12:42:09 +01:00
nm-fake-platform.c logging: log device and connection along with the message 2017-03-24 12:42:09 +01:00
nm-fake-platform.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-linux-platform.c logging: log device and connection along with the message 2017-03-24 12:42:09 +01:00
nm-linux-platform.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-platform-utils.c udev: drop libgudev in favor of libudev 2017-03-22 12:41:06 +01:00
nm-platform-utils.h udev: drop libgudev in favor of libudev 2017-03-22 12:41:06 +01:00
nm-platform.c platform: sort links by name instead of ifindex 2017-03-27 21:51:55 +02:00
nm-platform.h udev: drop libgudev in favor of libudev 2017-03-22 12:41:06 +01:00
nmp-netns.c logging: log device and connection along with the message 2017-03-24 12:42:09 +01:00
nmp-netns.h platform: preserve errno in nm_auto_pop_netns 2016-12-13 11:26:58 +01:00
nmp-object.c logging: log device and connection along with the message 2017-03-24 12:42:09 +01:00
nmp-object.h udev: drop libgudev in favor of libudev 2017-03-22 12:41:06 +01:00