Re: [PATCH net v3] net: netpoll: ensure skb_pool list is always initialized
From: patchwork-bot+netdevbpf
Date: Tue Jan 14 2025 - 20:50:43 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 13 Jan 2025 17:13:54 -0800 you wrote:
> When __netpoll_setup() is called directly, instead of through
> netpoll_setup(), the np->skb_pool list head isn't initialized.
> If skb_pool_flush() is later called, then we hit a NULL pointer
> in skb_queue_purge_reason(). This can be seen with this repro,
> when CONFIG_NETCONSOLE is enabled as a module:
>
> ip tuntap add mode tap tap0
> ip link add name br0 type bridge
> ip link set dev tap0 master br0
> modprobe netconsole netconsole=4444@10.0.0.1/br0,9353@10.0.0.2/
> rmmod netconsole
>
> [...]
Here is the summary with links:
- [net,v3] net: netpoll: ensure skb_pool list is always initialized
https://git.kernel.org/netdev/net/c/f0d0277796db
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html