aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qed/qed_vf.c
diff options
context:
space:
mode:
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>2018-07-18 22:50:03 -0700
committerDavid S. Miller <davem@davemloft.net>2018-07-21 16:19:04 -0700
commit58874c7b246109d8efb2b0099d1aa296d6bfc3fa (patch)
treed0d70a87e75d0fae4f91c8ab573d71bbb9913836 /drivers/net/ethernet/qlogic/qed/qed_vf.c
parentqed: Fix link flap issue due to mismatching EEE capabilities. (diff)
downloadlinux-dev-58874c7b246109d8efb2b0099d1aa296d6bfc3fa.tar.xz
linux-dev-58874c7b246109d8efb2b0099d1aa296d6bfc3fa.zip
qed: Fix possible race for the link state value.
There's a possible race where driver can read link status in mid-transition and see that virtual-link is up yet speed is 0. Since in this mid-transition we're guaranteed to see a mailbox from MFW soon, we can afford to treat this as link down. Fixes: cc875c2e ("qed: Add link support") Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com> Signed-off-by: Ariel Elior <ariel.elior@cavium.com> Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_vf.c')
0 files changed, 0 insertions, 0 deletions