]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-link.h
resolve: reduce attempts of reading link file 22199/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 20 Jan 2022 20:22:33 +0000 (05:22 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 20 Jan 2022 21:22:39 +0000 (06:22 +0900)
commit92796278f8b6614d272de85159555ff2f8776353
tree33542acfd5c52a94f70c38044aa7a1242832924e
parent1a4152f02b0c8c80e99a4b43745db1e96a793c50
resolve: reduce attempts of reading link file

The function `link_relevant()` is called repeatedly in `link_allocate_scopes()`.
Let's not read networkd's link file in `link_relevant()`.

Closes #22190.
src/resolve/resolved-link.c
src/resolve/resolved-link.h