[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240514065153.1320f47f@kernel.org>
Date: Tue, 14 May 2024 06:51:53 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Kalle Valo <kvalo@...nel.org>
Cc: Breno Leitao <leitao@...ian.org>, horms@...nel.org, Jeff Johnson
<jjohnson@...nel.org>, "David S. Miller" <davem@...emloft.net>,
netdev@...r.kernel.org, linux-wireless@...r.kernel.org (open
list:NETWORKING DRIVERS (WIRELESS)), ath11k@...ts.infradead.org (open
list:QUALCOMM ATHEROS ATH11K WIRELESS DRIVER), linux-kernel@...r.kernel.org
(open list)
Subject: Re: [PATCH wireless-next] ath11k: Fix error path in
ath11k_pcic_ext_irq_config
On Tue, 14 May 2024 13:24:28 +0000 (UTC) Kalle Valo wrote:
> > If one of the dummy allocation fails in ath11k_pcic_ext_irq_config(),
> > the previous allocated devices might leak due to returning without
> > deallocating the devices.
> >
> > Instead of returning on the error path, deallocate all the previously
> > allocated net_devices and then return.
> >
> > Fixes: bca592ead825 ("wifi: ath11k: allocate dummy net_device dynamically")
> > Signed-off-by: Breno Leitao <leitao@...ian.org>
> > Reviewed-by: Simon Horman <horms@...nel.org>
>
> As commit bca592ead825 is in net-next I think this patch needs to go to v6.10, right?
There's no rush, FWIW, we can pick up the conversion after the merge
window.
Powered by blists - more mailing lists