projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75255a8
)
network: add TODO about interface renaming
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sat, 23 Jul 2022 00:11:54 +0000
(09:11 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sat, 23 Jul 2022 11:04:28 +0000
(20:04 +0900)
src/network/networkd-link.c
patch
|
blob
|
history
diff --git
a/src/network/networkd-link.c
b/src/network/networkd-link.c
index 838101a217d5a09fdf631155ff9d906d38715c52..35d1e2f206e02b9834c1269995d8639e2f7f363c 100644
(file)
--- 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;
}