diff options
author | nikolay@redhat.com <nikolay@redhat.com> | 2013-06-26 17:13:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-28 07:50:15 +0200 |
commit | ae0d67505ca30c635f7763564622c9710913f293 (patch) | |
tree | 2aa35b8375c5896f8539fa0f62efa83e6f9308b1 /net | |
parent | bonding: remove unnecessary dev_addr_from_first member (diff) | |
download | linux-ae0d67505ca30c635f7763564622c9710913f293.tar.xz linux-ae0d67505ca30c635f7763564622c9710913f293.zip |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions