summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-07-23 09:11:54 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-07-23 20:04:28 +0900
commit71cdfe16aa7c854d1d0d50f34aff5701724e1b97 (patch)
treeb29026a3706905d88458557d7b217a221b1d6d60 /src/network/networkd-link.c
parent75255a8d43d82d0893a699aab6b57ca95fddb791 (diff)
downloadsystemd-71cdfe16aa7c854d1d0d50f34aff5701724e1b97.tar.gz
network: add TODO about interface renaming
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r--src/network/networkd-link.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 838101a217..35d1e2f206 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -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;
}