aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/napi_threaded.py
diff options
context:
space:
mode:
authorMohsin Bashir <[email protected]>2025-08-02 02:46:36 +0000
committerJakub Kicinski <[email protected]>2025-08-05 23:01:45 +0000
commit53abd9c86fd086d8448ceec4e9ffbd65b6c17a37 (patch)
tree75e7afe5baab8b321b46dc8a9c269ef77bc5194c /tools/testing/selftests/drivers/net/napi_threaded.py
parenteth: fbnic: Fix tx_dropped reporting (diff)
downloadkernel-53abd9c86fd086d8448ceec4e9ffbd65b6c17a37.tar.gz
kernel-53abd9c86fd086d8448ceec4e9ffbd65b6c17a37.zip
eth: fbnic: Lock the tx_dropped update
Wrap copying of drop stats on TX path from fbd->hw_stats by the hw_stats_lock. Currently, it is being performed outside the lock and another thread accessing fbd->hw_stats can lead to inconsistencies. Fixes: 5f8bd2ce8269 ("eth: fbnic: add support for TMI stats") Signed-off-by: Mohsin Bashir <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/napi_threaded.py')
0 files changed, 0 insertions, 0 deletions