diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2017-07-25 19:44:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-26 23:41:21 +0300 |
commit | d94708a553022bf012fa95af10532a134eeb5a52 (patch) | |
tree | ad9792dccf48bf35039bafff28fed3e5d4ed696a /net | |
parent | 9688f9b020263c4a17471d09bb18e34eccc1c0a5 (diff) | |
download | linux-d94708a553022bf012fa95af10532a134eeb5a52.tar.xz |
bonding: commit link status change after propose
Commit de77ecd4ef02 ("bonding: improve link-status update in mii-monitoring")
moves link status commitment into bond_mii_monitor(), but it still relies
on the return value of bond_miimon_inspect() as the hint. We need to return
non-zero as long as we propose a link status change.
Fixes: de77ecd4ef02 ("bonding: improve link-status update in mii-monitoring")
Reported-by: Benjamin Gilbert <benjamin.gilbert@coreos.com>
Tested-by: Benjamin Gilbert <benjamin.gilbert@coreos.com>
Cc: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions