]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: disallow change of MAC if fail_over_mac enabled
authorJay Vosburgh <fubar@us.ibm.com>
Fri, 31 May 2013 11:57:31 +0000 (11:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Jun 2013 22:05:51 +0000 (15:05 -0700)
commit56653a09358473a31968761f1ed78dc6d4c09722
tree2586af0f49a42fe8b36398f9e46ee9435e49a4ff
parentd828b90fe83b3e6a2c5329851cd4434fa07ac156
bonding: disallow change of MAC if fail_over_mac enabled

Currently, if fail_over_mac is set to active, then attempts to
change the MAC of the bond itself silently fail.  However, if fail_over_mac
is set to follow, changes are permitted.

Permitting the bond's MAC to change with fail_over_mac=follow
will disrupt the follow functionality, which normally controls the
assignment of MAC address to the bond and its slaves, and can cause
multiple ports to be assigned the same MAC address. which will interfere
with the functioning of the device (where the device here is a
virtualization-aware card for s390, qeth).

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c