OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af04908
)
bonding: use net_device_ops
author
Stephen Hemminger
<shemminger@vyatta.com>
Tue, 6 Jan 2009 18:41:56 +0000
(10:41 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 6 Jan 2009 18:41:56 +0000
(10:41 -0800)
Use the correct pointer in debug message.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/bonding/bond_main.c
b/drivers/net/bonding/bond_main.c
index
460c2ca
..
9fb3883
100644
(file)
--- a/
drivers/net/bonding/bond_main.c
+++ b/
drivers/net/bonding/bond_main.c
@@
-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);