Skip to content

Commit

Permalink
bonding: use net_device_ops
Browse files Browse the repository at this point in the history
Use the correct pointer in debug message.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jan 6, 2009
1 parent af04908 commit 53a3294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/bonding/bond_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4148,7 +4148,7 @@ static int bond_change_mtu(struct net_device *bond_dev, int new_mtu)

bond_for_each_slave(bond, slave, i) {
pr_debug("s %p s->p %p c_m %p\n", slave,
slave->prev, slave->dev->change_mtu);
slave->prev, slave->dev->netdev_ops->ndo_change_mtu);

res = dev_set_mtu(slave->dev, new_mtu);

Expand Down

0 comments on commit 53a3294

Please sign in to comment.