mbox series

[net,v1,0/4] Fix race conditions in ndo_get_stats64

Message ID 20241203072130.2316913-1-srasheed@marvell.com (mailing list archive)
Headers show
Series Fix race conditions in ndo_get_stats64 | expand

Message

Shinas Rasheed Dec. 3, 2024, 7:21 a.m. UTC
Fix race conditions in ndo_get_stats64 by implementing a state variable
check, and remove unnecessary firmware stats fetch which is currently
unnecessary

Shinas Rasheed (4):
  octeon_ep: fix race conditions in ndo_get_stats64
  octeon_ep: remove firmware stats fetch in ndo_get_stats64
  octeon_ep_vf: fix race conditions in ndo_get_stats64
  octeon_ep_vf: remove firmware stats fetch in ndo_get_stats64

 .../ethernet/marvell/octeon_ep/octep_main.c   | 34 ++++++++++++-----
 .../ethernet/marvell/octeon_ep/octep_main.h   |  8 ++++
 .../marvell/octeon_ep_vf/octep_vf_main.c      | 37 +++++++++++++++----
 .../marvell/octeon_ep_vf/octep_vf_main.h      |  9 +++++
 4 files changed, 71 insertions(+), 17 deletions(-)