diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-01-14 19:53:18 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-15 19:13:34 -0800 |
commit | e7ed2ba757bf86a4f90ae9c4080235fc9c74d8a2 (patch) | |
tree | e3f4fdcd6c949f471c61cdb1eda536a60926022e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 53ed30800d3fd36e1e9f7ba8014b150632f714b1 (diff) |
net: protect NAPI config fields with netdev_lock()
Protect the following members of netdev and napi by netdev_lock:
- defer_hard_irqs,
- gro_flush_timeout,
- irq_suspend_timeout.
The first two are written via sysfs (which this patch switches
to new lock), and netdev genl which holds both netdev and rtnl locks.
irq_suspend_timeout is only written by netdev genl.
Reviewed-by: Joe Damato <jdamato@fastly.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250115035319.559603-11-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions