aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r--drivers/net/bonding/bond_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 0942d82f7cbf..966643473da7 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -3511,6 +3511,9 @@ static int bond_inetaddr_event(struct notifier_block *this, unsigned long event,
3511 struct bonding *bond, *bond_next; 3511 struct bonding *bond, *bond_next;
3512 struct vlan_entry *vlan, *vlan_next; 3512 struct vlan_entry *vlan, *vlan_next;
3513 3513
3514 if (ifa->ifa_dev->dev->nd_net != &init_net)
3515 return NOTIFY_DONE;
3516
3514 list_for_each_entry_safe(bond, bond_next, &bond_dev_list, bond_list) { 3517 list_for_each_entry_safe(bond, bond_next, &bond_dev_list, bond_list) {
3515 if (bond->dev == event_dev) { 3518 if (bond->dev == event_dev) {
3516 switch (event) { 3519 switch (event) {