diff options
author | Jarod Wilson <jarod@redhat.com> | 2019-06-07 16:59:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-09 22:36:01 +0200 |
commit | f43b6530265a9cd14c39f00b0cc635405f02ae89 (patch) | |
tree | 7d9225700cf0761b3df66b60d24b3626f51e7450 /arch/sparc | |
parent | bonding: improve event debug usability (diff) | |
download | linux-f43b6530265a9cd14c39f00b0cc635405f02ae89.tar.xz linux-f43b6530265a9cd14c39f00b0cc635405f02ae89.zip |
bonding: fix error messages in bond_do_fail_over_mac
Passing the bond name again to debug output when referencing slave is wrong.
We're trying to set the bond's MAC to that of the new_active slave, so adjust
the error message slightly and pass in the slave's name, not the bond's.
Then we're trying to set the MAC on the old active slave, but putting the
new active slave's name in the output. While we're at it, clarify the
error messages so you know which one actually triggered.
CC: Jay Vosburgh <j.vosburgh@gmail.com>
CC: Veaceslav Falico <vfalico@gmail.com>
CC: Andy Gospodarek <andy@greyhouse.net>
CC: netdev@vger.kernel.org
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions