summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatt Vollrath <tactii@gmail.com>2026-05-06 14:48:10 -0700
committerJakub Kicinski <kuba@kernel.org>2026-05-08 16:01:08 -0700
commit1619553b0a6ba7a966b17b0226f3acb9dd4d5380 (patch)
tree8b9ca388497e43562001a61df9821353dbce9c5c /tools/perf/scripts/python
parenta77d5a069d959dc45f5f472d48cba37d8cba0f1c (diff)
downloadlinux-1619553b0a6ba7a966b17b0226f3acb9dd4d5380.tar.gz
linux-1619553b0a6ba7a966b17b0226f3acb9dd4d5380.zip
i40e: Cleanup PTP registration on probe failure
Fix two conditions which would leak PTP registration on probe failure: 1. i40e_setup_pf_switch can encounter an error in i40e_setup_pf_filter_control, call i40e_ptp_init, then return non-zero, sending i40e_probe to err_vsis. 2. i40e_setup_misc_vector can return non-zero, sending i40e_probe to err_vsis. Both of these conditions have been present since PTP was introduced in this driver. Found with coccinelle. Fixes: beb0dff1251db ("i40e: enable PTP") Signed-off-by: Matt Vollrath <tactii@gmail.com> Tested-by: Sunitha Mekala <sunithax.d.mekala@intel.com> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/20260506-jk-iwl-net-2026-05-04-v2-1-a5ea4dc837a9@intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions