aboutsummaryrefslogtreecommitdiffstats
path: root/net/8021q
diff options
context:
space:
mode:
Diffstat (limited to 'net/8021q')
-rw-r--r--net/8021q/vlan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
index b2ff70fcf8ea..969e7004cf86 100644
--- a/net/8021q/vlan.c
+++ b/net/8021q/vlan.c
@@ -501,13 +501,14 @@ static int vlan_device_event(struct notifier_block *unused, unsigned long event,
501 return NOTIFY_BAD; 501 return NOTIFY_BAD;
502 502
503 case NETDEV_NOTIFY_PEERS: 503 case NETDEV_NOTIFY_PEERS:
504 case NETDEV_BONDING_FAILOVER:
504 /* Propagate to vlan devices */ 505 /* Propagate to vlan devices */
505 for (i = 0; i < VLAN_N_VID; i++) { 506 for (i = 0; i < VLAN_N_VID; i++) {
506 vlandev = vlan_group_get_device(grp, i); 507 vlandev = vlan_group_get_device(grp, i);
507 if (!vlandev) 508 if (!vlandev)
508 continue; 509 continue;
509 510
510 call_netdevice_notifiers(NETDEV_NOTIFY_PEERS, vlandev); 511 call_netdevice_notifiers(event, vlandev);
511 } 512 }
512 break; 513 break;
513 } 514 }