Files
linux/drivers/net/ethernet/intel/i40e
Matt Vollrath 678b713ece i40e: Cleanup PTP pins on probe failure
PTP pin structs are allocated early in probe, but never cleaned up.

Fix this by calling i40e_ptp_free_pins in the error path.

To support this, i40e_ptp_free_pins is added to the header and
pin_config is correctly nullified after being freed.

This has been an issue since i40e_ptp_alloc_pins was introduced.

Fixes: 1050713026 ("i40e: add support for PTP external synchronization clock")
Reported-by: Kohei Enju <[email protected]>
Cc: [email protected]
Signed-off-by: Matt Vollrath <[email protected]>
Reviewed-by: Paul Menzel <[email protected]>
Reviewed-by: Aleksandr Loktionov <[email protected]>
Reviewed-by: Kohei Enju <[email protected]>
Tested-by: Sunitha Mekala <[email protected]>
Signed-off-by: Jacob Keller <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
2026-05-08 16:01:08 -07:00
..
2025-07-24 09:45:43 -07:00
2025-07-24 09:26:13 -07:00
2026-03-03 08:56:05 -08:00
…
2025-07-24 09:45:43 -07:00
2026-03-05 08:02:04 -08:00
2025-07-24 09:26:13 -07:00
2026-05-08 16:01:08 -07:00
…