• Vlad Yasevich's avatar
    macvlan: Support bonding events · 4c991255
    Vlad Yasevich authored
    Bonding and team drivers generate specific events during failover
    that trigger switch updates.  When a macvlan device is configured
    on top of bonding, we want switches to learn about the macvlan
    devices as well.   This patch adds a handler to macvlan driver to
    propagate these events to all macvlan devices.  We let the generic
    inetdev event handler do the work.
    
    This allows macvlan to operated correctly over active-backup
    mode bond.
    Signed-off-by: default avatarVlad Yasevich <vyasevic@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    4c991255
macvlan.c 31 KB