Thread (2 messages) 2 messages, 2 authors, 2024-01-22

Re: [PATCH] i40e: fix a memleak in i40e_init_recovery_mode

From: Simon Horman <horms@kernel.org>
Date: 2024-01-22 21:10:52
Also in: intel-wired-lan, lkml

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 <redacted>
Reviewed-by: Simon Horman <horms@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help