Resolve multiple issues in the error path of reset handling of the IDPF driver: - Mailbox timeouts in the init task during a reset lead to the netdevs being unregistered. - Reset times out and leaves the netdevs exposed to callbacks with the vport resources already freed. - Simultaneous reset and soft reset calls will result in the loss of the vport state, leaving the netdev in DOWN state. - Memory leak in idpf_vport_rel() where vport->rx_ptype_lkup was not freed during a reset. - Memory leak in idpf_vc_core_deinit(), where kfree() was missing for hw->lan_regs.
Emil Tantilov (4): idpf: keep the netdev when a reset fails idpf: detach and close netdevs while handling a reset idpf: fix memory leak in idpf_vport_rel() idpf: fix memory leak in idpf_vc_core_deinit() drivers/net/ethernet/intel/idpf/idpf_lib.c | 139 ++++++++++-------- .../net/ethernet/intel/idpf/idpf_virtchnl.c | 4 + 2 files changed, 83 insertions(+), 60 deletions(-) -- 2.37.3
