diff options
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 652b30e525d0..eafe44a528ac 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -1297,6 +1297,7 @@ static inline int slave_enable_netpoll(struct slave *slave) | |||
1297 | goto out; | 1297 | goto out; |
1298 | 1298 | ||
1299 | np->dev = slave->dev; | 1299 | np->dev = slave->dev; |
1300 | strlcpy(np->dev_name, slave->dev->name, IFNAMSIZ); | ||
1300 | err = __netpoll_setup(np); | 1301 | err = __netpoll_setup(np); |
1301 | if (err) { | 1302 | if (err) { |
1302 | kfree(np); | 1303 | kfree(np); |