]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
network: do not process requests which conditionalized with link flags while the... 19831/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 7 Jun 2021 07:26:10 +0000 (16:26 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Jun 2021 19:59:23 +0000 (04:59 +0900)
commitbaa95d2274179e680c4731a74f514e2651722ad2
tree847474b6289a342e7c03d3c6468d9724312d9f93
parent2a057a734073ebe7fd7441337059d4d224c9e5e9
network: do not process requests which conditionalized with link flags while the flags are updating

E.g. nexthop requires IFF_UP flag, but the currently stored flag may be
outdated if we called link_down(). This makes such requests pending if
at least one of the flags are updating.
src/network/networkd-bridge-mdb.c
src/network/networkd-dhcp-common.c
src/network/networkd-dhcp-server.c
src/network/networkd-link.c
src/network/networkd-link.h
src/network/networkd-nexthop.c
src/network/networkd-setlink.c