1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 10:25:37 +03:00

network: add TODO about interface renaming

This commit is contained in:
Yu Watanabe 2022-07-23 09:11:54 +09:00
parent 75255a8d43
commit 71cdfe16aa

View File

@ -1518,6 +1518,9 @@ int manager_udev_process_link(Manager *m, sd_device *device, sd_device_action_t
return log_device_debug_errno(device, r, "Failed to determine if the device is renaming or not: %m");
if (r > 0) {
log_device_debug(device, "Device is renaming, waiting for the interface to be renamed.");
/* TODO:
* What happens when a device is initialized, then soon renamed after that? When we detect
* such, maybe we should cancel or postpone all queued requests for the interface. */
return 0;
}