bonding: claim the port device before creating the bonding device
authorFelix Fietkau <nbd@nbd.name>
Tue, 21 Sep 2021 16:04:32 +0000 (18:04 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 21 Sep 2021 16:04:34 +0000 (18:04 +0200)
commit08e954e137ffcf7770200bbd6476dc36bbd326f5
tree6d1d657a27147b0629fee25e2518af730450dd25
parent06d11bbf1f2b61dcdb1b7088eec539fcd00b28a0
bonding: claim the port device before creating the bonding device

Avoids create/destroy cycles of the bonding device if the port devices are unavailable

Signed-off-by: Felix Fietkau <nbd@nbd.name>
bonding.c