]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: when cloning a MAC use NET_ADDR_STOLEN
authornikolay@redhat.com <nikolay@redhat.com>
Wed, 26 Jun 2013 15:13:39 +0000 (17:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jun 2013 05:50:15 +0000 (22:50 -0700)
commit87cbb5723a1b24fdc720050b21d15d46b468cd3f
tree2aa35b8375c5896f8539fa0f62efa83e6f9308b1
parente057dff79610fe8b844bc47f6e057c68fd34cb0c
bonding: when cloning a MAC use NET_ADDR_STOLEN

A simple semantic change, when a slave's MAC is cloned by the bond
master then set addr_assign_type to NET_ADDR_STOLEN instead of
NET_ADDR_SET. Also use bond_set_dev_addr() in BOND_FOM_ACTIVE mode
to change the bond's MAC address because the assign_type has to be
set properly.

Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c