[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZbukS3j_cS57FmZ9@nanopsycho>
Date: Thu, 1 Feb 2024 15:01:47 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Zhipeng Lu <alexious@....edu.cn>
Cc: Sunil Goutham <sgoutham@...vell.com>,
Geetha sowjanya <gakula@...vell.com>,
Subbaraya Sundeep <sbhatta@...vell.com>,
hariprasad <hkelam@...vell.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Jesse Brandeburg <jesse.brandeburg@...el.com>,
Richard Cochran <richardcochran@...il.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] octeontx2-pf: Fix a memleak otx2_sq_init
Thu, Feb 01, 2024 at 01:47:13PM CET, alexious@....edu.cn wrote:
>When qmem_alloc and pfvf->hw_ops->sq_aq_init fails, sq->sg should be
>freed to prevent memleak.
>
>Fixes: c9c12d339d93 ("octeontx2-pf: Add support for PTP clock")
>Signed-off-by: Zhipeng Lu <alexious@....edu.cn>
Acked-by: Jiri Pirko <jiri@...dia.com>
Powered by blists - more mailing lists