diff options
author | Shannon Nelson <snelson@pensando.io> | 2021-03-30 12:52:09 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-30 17:37:12 -0700 |
commit | b2b9a8d7ed134ae72e5ef8d0003d054af8e5e2bf (patch) | |
tree | aba781f457d607bc41fef50b7b62a968b879693b /drivers/net/ethernet/pensando/ionic/ionic_stats.c | |
parent | 230efff47adbea8274810b593a9caf8e46c2c1f7 (diff) |
ionic: avoid races in ionic_heartbeat_check
Rework the heartbeat checks to be sure that we're getting an
atomic operation. Through testing we found occasions where a
separate thread could clash with this check and cause erroneous
heartbeat check results.
Signed-off-by: Allen Hubbe <allenbh@pensando.io>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_stats.c')
0 files changed, 0 insertions, 0 deletions