diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2023-08-10 17:01:12 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-14 19:08:13 -0700 |
commit | 28458c80006bb4e993a09fc094094a8578cad292 (patch) | |
tree | bb070b38921dec7c91187ead8b35db0eb87ace2b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 519b227904f0e70d4a1d6cf41daa5392715f2d2f (diff) |
octeon_ep: cancel tx_timeout_task later in remove sequence
tx_timeout_task is canceled too early when removing the driver. Nothing
prevents .ndo_tx_timeout from triggering and queuing the work again.
Better cancel it after the netdev is unregistered.
It's harmless for octep_tx_timeout_task to run in the window between the
unregistration and cancelation, because it checks netif_running.
Fixes: 862cd659a6fb ("octeon_ep: Add driver framework and device initialization")
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Link: https://lore.kernel.org/r/20230810150114.107765-3-mschmidt@redhat.com
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