diff options
| author | dingtianhong <[email protected]> | 2014-01-25 13:00:57 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-02-04 19:47:27 -0800 |
| commit | cc689aaa7abf33b2ccb02482e5e17885ea8903d1 (patch) | |
| tree | 57e07faeb8def276e9cb83446758ed1043d093d4 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | 00503b6f702eaf23e7257d6287da72805d7d014c (diff) | |
bonding: fail_over_mac should only affect AB mode in bond_set_mac_address()
The fail_over_mac could be set to active or follow in any time for all modes,
so if the fail_over_mac is not none and the current mode is not active-backup,
the bond_set_mac_address() could not change the master and slave's MAC address.
In bond_set_mac_address(), the fail_over_mac should only affect AB mode, so modify
to check the mode in addition to fail_over_mac when setting bond's MAC address.
Cc: Jay Vosburgh <[email protected]>
Cc: Veaceslav Falico <[email protected]>
Cc: Andy Gospodarek <[email protected]>
Signed-off-by: Ding Tianhong <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions