]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01bea8f2e764c5e299220ba14d98d00b017289a2
tree21c68c6a711de84781dff4a561566dc0e325959b
parent6df54f86fba6ceba7abbf070def677724053a105
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