bonding: move dev_addr cpy to bond_enslave
authorJiri Pirko <jpirko@redhat.com>
Wed, 19 May 2010 01:14:29 +0000 (01:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jun 2010 11:16:23 +0000 (04:16 -0700)
commitc20811a79e671a6a1fe86a8c1afe04aca8a7f085
tree21c68c6a711de84781dff4a561566dc0e325959b
parente95095540c5276fc9922cb14376afc36f846af1f
bonding: move dev_addr cpy to bond_enslave

Move the code that copies slave's mac address in case that's the first slave into
bond_enslave. Ifenslave app does this also but that's not a problem. This is
something that should be done in bond_enslave, and it shound not matter from
where is it called.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_sysfs.c