]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: wait until the DSA master interface becomes up 21737/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 9 Dec 2021 17:49:07 +0000 (02:49 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 16 Dec 2021 17:00:25 +0000 (02:00 +0900)
commitb1d9c504d3a5468fd63932a88709b0dad9e83374
tree8b6596e15b908c357a1fe9ed981a2610d3b7aad3
parent54cd4bb7c7993c9504f332ed0ebec1794b2e2167
network: wait until the DSA master interface becomes up

This is for the DSA subsystem, which have several stacked interfaces
on the master interface. To bring up a stacked interface, it is necessary
that the master is already up. See
https://github.com/systemd/systemd/issues/7478#issuecomment-348508263.

Note this is not necessary for newer kernels which includes
https://github.com/torvalds/linux/commit/9d5ef190e5615a7b63af89f88c4106a5bc127974.

Fixes #7478.
src/network/networkd-link.c
src/network/networkd-link.h
src/network/networkd-setlink.c