Thread (2 messages) 2 messages, 2 authors, 2026-03-05

Re: [PATCH net v2] net: ethernet: mtk_eth_soc: Reset prog ptr to old_prog in case of error in mtk_xdp_setup()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-03-05 14:50:05
Also in: bpf, linux-mediatek, netdev

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni [off-list ref]:

On Tue, 03 Mar 2026 18:56:39 +0100 you wrote:
Reset eBPF program pointer to old_prog and do not decrease its ref-count
if mtk_open routine in mtk_xdp_setup() fails.

Fixes: 7c26c20da5d42 ("net: ethernet: mtk_eth_soc: add basic XDP support")
Suggested-by: Paolo Valerio <redacted>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>

[...]
Here is the summary with links:
  - [net,v2] net: ethernet: mtk_eth_soc: Reset prog ptr to old_prog in case of error in mtk_xdp_setup()
    https://git.kernel.org/netdev/net/c/0abc73c8a40f

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


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help