Messages in this thread | | | Subject | Re: [PATCH net] net: bcmasp: Handle RX buffer allocation failure | From | patchwork-bot+netdevbpf@kernel ... | Date | Thu, 15 Feb 2024 12:40:26 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (main) by Paolo Abeni <pabeni@redhat.com>:
On Tue, 13 Feb 2024 09:33:39 -0800 you wrote: > The buffer_pg variable needs to hold an order-5 allocation (32 x > PAGE_SIZE) which, under memory pressure may fail to be allocated. Deal > with that error condition properly to avoid doing a NULL pointer > de-reference in the subsequent call to dma_map_page(). > > In addition, the err_reclaim_tx error label in bcmasp_netif_init() needs > to ensure that the TX NAPI object is properly deleted, otherwise > unregister_netdev() will spin forever attempting to test and clear > the NAPI_STATE_HASHED bit. > > [...]
Here is the summary with links: - [net] net: bcmasp: Handle RX buffer allocation failure https://git.kernel.org/netdev/net/c/e5b2e810daf9
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |