summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorMahesh Bandewar <maheshb@google.com>2017-04-11 22:36:00 -0700
committerDavid S. Miller <davem@davemloft.net>2017-04-13 13:48:59 -0400
commitfb9eb899a6dc663e4a2deed9af2ac28f507d0ffb (patch)
tree82bd0507a063dacfeeb0512e9cc567c5381e5dfe /net/core
parentd4d49bc145e830fdcfdcfba9ef4b7db5d0b1f8a7 (diff)
downloadlinux-fb9eb899a6dc663e4a2deed9af2ac28f507d0ffb.tar.bz2
bonding: handle link transition from FAIL to UP correctly
When link transitions from LINK_FAIL to LINK_UP, the commit phase is not called. This leads to an erroneous state causing slave-link state to get stuck in "going down" state while its speed and duplex are perfectly fine. This issue is a side-effect of splitting link-set into propose and commit phases introduced by de77ecd4ef02 ("bonding: improve link-status update in mii-monitoring") This patch fixes these issues by calling commit phase whenever link state change is proposed. Fixes: de77ecd4ef02 ("bonding: improve link-status update in mii-monitoring") Signed-off-by: Mahesh Bandewar <maheshb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions