|
@@ -4113,7 +4113,7 @@ static int bond_neigh_setup(struct net_device *dev, struct neigh_parms *parms)
|
|
|
const struct net_device_ops *slave_ops
|
|
|
= slave->dev->netdev_ops;
|
|
|
if (slave_ops->ndo_neigh_setup)
|
|
|
- return slave_ops->ndo_neigh_setup(dev, parms);
|
|
|
+ return slave_ops->ndo_neigh_setup(slave->dev, parms);
|
|
|
}
|
|
|
return 0;
|
|
|
}
|