mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 21:40:08 +01:00
For some device types, we use the DEVTYPE from sysfs to determine the link type. However, the way we read from sysfs can race with device renames and we could miss the chance to read DEVTYPE correctly. This doesn't completely fix the sysfs race, but cures the boot-time race with systemd renaming the device while we are initializing the link. We ideally should use GUDev for all sysfs accesses, but that would need some more work for this particular case as currently we need the link type before we have an udev device instance. https://bugzilla.gnome.org/show_bug.cgi?id=764803 Co-Authored-By: Beniamino Galvani <bgalvani@redhat.com> |
||
|---|---|---|
| .. | ||
| tests | ||
| wifi | ||
| Makefile.am | ||
| nm-fake-platform.c | ||
| nm-fake-platform.h | ||
| nm-linux-platform.c | ||
| nm-linux-platform.h | ||
| nm-platform-utils.c | ||
| nm-platform-utils.h | ||
| nm-platform.c | ||
| nm-platform.h | ||
| nmp-netns.c | ||
| nmp-netns.h | ||
| nmp-object.c | ||
| nmp-object.h | ||