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)
committerLuca Boccassi <bluca@debian.org>
Thu, 15 Aug 2024 13:04:40 +0000 (14:04 +0100)
commit0d98178abb5ea470d03d05680e58ff0e59fe69bd
tree0c409df5a8845e0732eb0ff64e2047449296369e
parent1cdeda986a52de77285396b84fba531934ccd6c7
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.

(cherry picked from commit 36b8ad085c6902631ad7054bffbda33d6d168823)
src/network/networkd-link.c