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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 2c96b93b12a5..bfe1ed8389ca 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -4121,7 +4121,7 @@ static int bond_neigh_setup(struct net_device *dev, struct neigh_parms *parms)
4121 const struct net_device_ops *slave_ops 4121 const struct net_device_ops *slave_ops
4122 = slave->dev->netdev_ops; 4122 = slave->dev->netdev_ops;
4123 if (slave_ops->ndo_neigh_setup) 4123 if (slave_ops->ndo_neigh_setup)
4124 return slave_ops->ndo_neigh_setup(dev, parms); 4124 return slave_ops->ndo_neigh_setup(slave->dev, parms);
4125 } 4125 }
4126 return 0; 4126 return 0;
4127} 4127}