6405eba network: Fix set bond device MAC address failed

2 files Authored by Jian Zhang a year ago, Committed by zbyszek a year ago,
    network: Fix set bond device MAC address failed
    
    Issue:
    When device is in bond mode and booting up, there is a probability of
    set bond MAC address failed due to `Device or resource busy` error.
    
    In systemd-networkd, set MAC address steps are:
    1. Try to set MAC address to device.
    2. If failed with `Device or resource busy`, then `Down` the device.
    3. Try to set MAC address to device again.
    
    Currently, Even down the bond device, the bond device is still return
    `Device or resource busy` error. So the MAC address set failed.
    
    The root cause is that this not enough to down the bond device. We need
    to down all the slaves of the bond device.
    About this descprition, we could use those commands to check:
    ```shell
    We have two network devices: eth0, bond1, eth0 is slave of bond1.
    They are all up.
    
    1. Down bond1, and set MAC address to bond1.
    ~# ip link set bond1 down
    ~# ip link set bond1 address 00:11:22:33:44:55
    ip: SIOCSIFHWADDR: Device or resource busy
    
    2. Down eth0, and set MAC address to bond1.
    ~# ip link set eth0 down
    ~# ip link set bond1 address 00:11:22:33:44:55
    Set okay.
    ```
    
    Fix:
    When setting the mac for the second time, if the device kind is bond,
    then we need to down the slave devices of bond device.
    
    Tested: Verified in a long time test( reboot cycles ).
    
    Fixes: #25627
    
    Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com>
    (cherry picked from commit f1a69d5accfd566c5af0210115f4b4a9743425ee)