]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: invalidate cached driver when an interface is renamed
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 23 Jul 2026 06:14:58 +0000 (15:14 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 23 Jul 2026 10:23:47 +0000 (19:23 +0900)
commitc023311fe470c470e2cbfcf4243cddb219bb23da
tree33584ec47ff9a698511aca52971745419c57e6c7
parent92e2f70a3c90c00bf4c24c78842055387641564a
network: invalidate cached driver when an interface is renamed

During early boot, interfaces may be renamed frequently, which can lead to
caching the driver name of a different interface. Invalidate the cached
driver whenever an interface rename is detected so it can be re-read using
the new name.

Follow-up for #42545.
Fixes #43099.
src/network/networkd-link.c