[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176789101978.3716059.8052841246224375399.git-patchwork-notify@kernel.org>
Date: Thu, 08 Jan 2026 16:50:19 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Breno Leitao <leitao@...ian.org>
Cc: michael.chan@...adcom.com, pavan.chebbi@...adcom.com,
andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, richardcochran@...il.com,
rmk+kernel@...linux.org.uk, vadim.fedorenko@...ux.dev,
vladimir.oltean@....com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-team@...a.com, stable@...r.kernel.org
Subject: Re: [PATCH net v3] bnxt_en: Fix NULL pointer crash in bnxt_ptp_enable
during error cleanup
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 06 Jan 2026 06:31:14 -0800 you wrote:
> When bnxt_init_one() fails during initialization (e.g.,
> bnxt_init_int_mode returns -ENODEV), the error path calls
> bnxt_free_hwrm_resources() which destroys the DMA pool and sets
> bp->hwrm_dma_pool to NULL. Subsequently, bnxt_ptp_clear() is called,
> which invokes ptp_clock_unregister().
>
> Since commit a60fc3294a37 ("ptp: rework ptp_clock_unregister() to
> disable events"), ptp_clock_unregister() now calls
> ptp_disable_all_events(), which in turn invokes the driver's .enable()
> callback (bnxt_ptp_enable()) to disable PTP events before completing the
> unregistration.
>
> [...]
Here is the summary with links:
- [net,v3] bnxt_en: Fix NULL pointer crash in bnxt_ptp_enable during error cleanup
https://git.kernel.org/netdev/net/c/3358995b1a7f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists