]> git.baikalelectronics.ru Git - kernel.git/commit
macvlan: Support bonding events
authorVlad Yasevich <vyasevic@redhat.com>
Wed, 4 Jun 2014 20:23:37 +0000 (16:23 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jun 2014 22:13:54 +0000 (15:13 -0700)
commit0c0632696f5f4c9ef231199580b7a6fb1bd2996f
tree0c689101e62e20097073fc838e463411680fd1d7
parent9164637211ab226f0d96408e7f5c40fb9879c405
macvlan: Support bonding events

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: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c