network: call link_handle_bound_by_list() before trying to reconfigure interface
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 30 Jul 2024 18:50:55 +0000 (03:50 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 30 Jul 2024 21:47:11 +0000 (06:47 +0900)
commit36b8ad085c6902631ad7054bffbda33d6d168823
tree153a59cd9e971895de23d37479a8265fc6f01d17
parente8eaed0240d642e70c567b08f3593e4cf45a255a
network: call link_handle_bound_by_list() before trying to reconfigure interface

Otherwise, when an interface gained its carrier, the interface may not
have matching .network file yet, then link_reconfigure_impl() returns
zero, and link_handle_bound_by_list() is skipped.

Fixes #33837.
src/network/networkd-link.c