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)
commitae0d67505ca30c635f7763564622c9710913f293
tree2aa35b8375c5896f8539fa0f62efa83e6f9308b1
parent97a1e6396b07581249506952a4c417dc6d2a4f9c
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