[lvc-project] [PATCH net v5 0/2] octeon_ep: Add SKB allocation failures handling in __octep_oq_process_rx()

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Sun Oct 20 17:50:37 MSK 2024


Hello:

This series was applied to netdev/net.git (main)
by Andrew Lunn <andrew at lunn.ch>:

On Thu, 17 Oct 2024 13:06:49 +0300 you wrote:
> __octep_oq_process_rx() is called during NAPI polling by the driver and
> calls build_skb() which may return NULL as skb pointer in case of memory
> allocation error. This pointer is dereferenced later without checking for
> NULL.
> 
> In this series, we introduce two helpers to make the fix more readable and
> avoid code duplication. Also we handle build_skb() errors inside
> __octep_oq_process_rx() to avoid NULL pointer dereference.
> 
> [...]

Here is the summary with links:
  - [net,v5,1/2] octeon_ep: Implement helper for iterating packets in Rx queue
    https://git.kernel.org/netdev/net/c/bd28df26197b
  - [net,v5,2/2] octeon_ep: Add SKB allocation failures handling in __octep_oq_process_rx()
    https://git.kernel.org/netdev/net/c/eb592008f79b

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the lvc-project mailing list