diff options
author | 2025-04-10 00:08:55 -0700 | |
---|---|---|
committer | 2025-04-15 11:23:13 +0200 | |
commit | 9f61eb2d185b06d49ef8c25af994d6fc571433cc (patch) | |
tree | 998850f6851911c409d4776613ba31bfb85c2178 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: mdio: Add RTL9300 MDIO driver (diff) | |
download | wireguard-linux-9f61eb2d185b06d49ef8c25af994d6fc571433cc.tar.xz wireguard-linux-9f61eb2d185b06d49ef8c25af994d6fc571433cc.zip |
eth: fbnic: add locking support for hw stats
This patch adds lock protection for the hardware statistics for fbnic.
The hardware statistics access via ndo_get_stats64 is not protected by
the rtnl_lock(). Since these stats can be accessed from different places
in the code such as service task, ethtool, Q-API, and net_device_ops, a
lock-less approach can lead to races.
Note that this patch is not a fix rather, just a prep for the subsequent
changes in this series.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Mohsin Bashir <mohsin.bashr@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250410070859.4160768-2-mohsin.bashr@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions