Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Intel-wired-lan] [PATCH] i40e: fix a memleak in i40e_init_recovery_mode
       [not found] <20240122173633.3843715-1-alexious@zju.edu.cn>
@ 2024-01-22 21:10 ` Simon Horman
  0 siblings, 0 replies; only message in thread
From: Simon Horman @ 2024-01-22 21:10 UTC (permalink / raw)
  To: Zhipeng Lu
  Cc: Alice Michael, intel-wired-lan, Jesse Brandeburg, linux-kernel,
	Eric Dumazet, netdev, Tony Nguyen, Jeff Kirsher, Piotr Marczak,
	Jakub Kicinski, Paolo Abeni, David S. Miller

On Tue, Jan 23, 2024 at 01:36:33AM +0800, Zhipeng Lu wrote:
> In i40e_init_recovery_mode, pf->vsi is allocated without free, causing
> a memleak. This patch adds deallocation operations for pf->vsi in each
> and every error-handling paths after pf->vsi's.
> 
> Fixes: 4ff0ee1af016 ("i40e: Introduce recovery mode support")
> Signed-off-by: Zhipeng Lu <alexious@zju.edu.cn>

Reviewed-by: Simon Horman <horms@kernel.org>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-22 21:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20240122173633.3843715-1-alexious@zju.edu.cn>
2024-01-22 21:10 ` [Intel-wired-lan] [PATCH] i40e: fix a memleak in i40e_init_recovery_mode Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox