summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/bridge_loop_avoidance.h
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@redhat.com>2013-06-12 00:07:01 +0200
committerDavid S. Miller <davem@davemloft.net>2013-06-13 02:33:37 -0700
commitb8fad459f9cc8417b74f71c6c229eef7412163d1 (patch)
tree63b671e93aa984f6803745f8eabe21c1642f9236 /net/batman-adv/bridge_loop_avoidance.h
parent2dc85bf323515e59e15dfa858d1472bb25cad0fe (diff)
bonding: reset master mac on first enslave failure
If the bond device is supposed to get the first slave's MAC address and the first enslavement fails then we need to reset the master's MAC otherwise it will stay the same as the failed slave device. We do it after err_undo_flags since that is the first place where the MAC can be changed and we check if it should've been the first slave and if the bond's MAC was set to it because that err place is used by multiple locations prior to changing the master's MAC address. Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com> Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/bridge_loop_avoidance.h')
0 files changed, 0 insertions, 0 deletions