netpoll: copy dev name of slaves to struct netpoll
authorWANG Cong <amwang@redhat.com>
Sun, 19 Jun 2011 23:13:01 +0000 (16:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2011 23:13:01 +0000 (16:13 -0700)
commitcefa9993f161c1c2b6b91b7ea2e84a9bfbd43d2e
treeea1a587dd6a87e2c8c5ea84855ca068484fecdf5
parent9aa3c94ce59066f545521033007abb6441706068
netpoll: copy dev name of slaves to struct netpoll

Otherwise we will not see the name of the slave dev in error
message:

[  388.469446] (null):  doesn't support polling, aborting.

Signed-off-by: WANG Cong <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
net/bridge/br_device.c