[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251110180823.18008-1-emil.s.tantilov@intel.com>
Date: Mon, 10 Nov 2025 10:08:19 -0800
From: Emil Tantilov <emil.s.tantilov@...el.com>
To: intel-wired-lan@...ts.osuosl.org
Cc: netdev@...r.kernel.org,
Aleksandr.Loktionov@...el.com,
przemyslaw.kitszel@...el.com,
anthony.l.nguyen@...el.com,
andrew+netdev@...n.ch,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
decot@...gle.com,
willemb@...gle.com,
joshua.a.hay@...el.com,
madhu.chittim@...el.com,
aleksander.lobakin@...el.com,
larysa.zaremba@...el.com,
iamvivekkumar@...gle.com
Subject: [PATCH iwl-net 0/4] idpf: fix issues in the reset handling path
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
Powered by blists - more mailing lists