]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: mention IFLA_PERM_ADDRESS is since kernel v5.6
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 16 Feb 2025 20:38:20 +0000 (05:38 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 16 Feb 2025 21:20:46 +0000 (06:20 +0900)
src/network/networkd-link.c

index 67fc725f98092d453cc54af5601509b8581b66bc..14cf7197bb65396578754018e3dc15d3a2ae57a5 100644 (file)
@@ -2321,7 +2321,7 @@ static int link_update_permanent_hardware_address(Link *link, sd_netlink_message
                 if (r != -ENODATA)
                         return log_link_debug_errno(link, r, "Failed to read IFLA_PERM_ADDRESS attribute: %m");
 
-                /* Fallback to ethtool for older kernels. */
+                /* Fallback to ethtool for kernels older than v5.6 (f74877a5457d34d604dba6dbbb13c4c05bac8b93). */
                 r = link_update_permanent_hardware_address_from_ethtool(link, message);
                 if (r < 0)
                         return r;