summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@amd.com>2024-12-12 13:31:55 -0800
committerJakub Kicinski <kuba@kernel.org>2024-12-15 14:33:31 -0800
commit9590d32e090ea2751e131ae5273859ca22f5ac14 (patch)
treee1d8cc2b30a75a515e107479dd04ff08ea35fd59 /tools/perf/scripts/python/export-to-sqlite.py
parent663ad7481f068057f6f692c5368c47150e855370 (diff)
ionic: Fix netdev notifier unregister on failure
If register_netdev() fails, then the driver leaks the netdev notifier. Fix this by calling ionic_lif_unregister() on register_netdev() failure. This will also call ionic_lif_unregister_phc() if it has already been registered. Fixes: 30b87ab4c0b3 ("ionic: remove lif list concept") Signed-off-by: Brett Creeley <brett.creeley@amd.com> Signed-off-by: Shannon Nelson <shannon.nelson@amd.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/20241212213157.12212-2-shannon.nelson@amd.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions