aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorMahesh Bandewar <[email protected]>2017-04-04 01:38:39 +0000
committerDavid S. Miller <[email protected]>2017-04-05 14:15:58 +0000
commit3f3c278c94dd994fe0d9f21679ae19b9c0a55292 (patch)
treed9143fb9ed01cd2da630703e8f66eba812ef7833 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parentnetlink/diag: report flags for netlink sockets (diff)
downloadkernel-3f3c278c94dd994fe0d9f21679ae19b9c0a55292.tar.gz
kernel-3f3c278c94dd994fe0d9f21679ae19b9c0a55292.zip
bonding: fix active-backup transition
Earlier patch c4adfc822bf5 ("bonding: make speed, duplex setting consistent with link state") made an attempt to keep slave state consistent with speed and duplex settings. Unfortunately link-state transition is used to change the active link especially when used in conjunction with mii-mon. The above mentioned patch broke that logic. Also when speed and duplex settings for a link are updated during a link-event, the link-status should not be changed to invoke correct transition logic. This patch fixes this issue by moving the link-state update outside of the bond_update_speed_duplex() fn and to the places where this fn is called and update link-state selectively. Fixes: c4adfc822bf5 ("bonding: make speed, duplex setting consistent with link state") Signed-off-by: Mahesh Bandewar <[email protected]> Reviewed-by: Andy Gospodarek <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions