• S
    skge: set mac address bonding fix · 2eb3e621
    Stephen Hemminger 提交于
    When bonding does fail over it calls set_mac_address.  When this happens
    as the result of another port going down, the phy_mutex that is common to
    both ports is held, so it deadlocks. Setting the address doesn't need to do
    anything that needs the phy_mutex, it already has the RTNL to protect against
    other admin actions.
    
    This change just disables the receiver to avoid any hardware confusion
    while address is changing.
    Signed-off-by: NStephen Hemminger <shemminger@linux-foundation.org>
    Signed-off-by: NJeff Garzik <jeff@garzik.org>
    2eb3e621
skge.c 99.2 KB