summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFan Wu <fanwu01@zju.edu.cn>2026-08-05 01:14:09 +0000
committerJakub Kicinski <kuba@kernel.org>2026-08-06 09:19:49 -0700
commitf2473fbfc3fd8d07142069bcd68316e26cdad59e (patch)
tree8a63e83d9a0edbc80fa72fbf3e626477e99ca0c8 /tools/perf/scripts/python/export-to-postgresql.py
parentb5b02ce657772beeff9a8f8b1df3985377124bb1 (diff)
fjes: unregister the netdev before destroying the workqueues
fjes_remove() destroys the driver workqueues before unregistering the netdev. The interrupt handler queues work on them, but the IRQ is only freed from fjes_close() under unregister_netdev(), so an interrupt in that window can queue work once the workqueues are gone. Unregister the netdev first so fjes_close() frees the IRQ and cancels the workers before the workqueues are destroyed. force_close_task, which the workers arm on the system workqueue, is handled in the next patch. This issue was found by an in-house static analysis tool. Cc: stable+noautosel@kernel.org # untested fix to a driver init path race Signed-off-by: Fan Wu <fanwu01@zju.edu.cn> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260805011410.414431-1-fanwu01@zju.edu.cn 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