[lvc-project] [PATCH] caif_virtio: fix wrong pointer check in cfv_probe()

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Sat Mar 1 05:40:30 MSK 2025


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:

On Thu, 27 Feb 2025 23:46:27 +0500 you wrote:
> del_vqs() frees virtqueues, therefore cfv->vq_tx pointer should be checked
> for NULL before calling it, not cfv->vdev. Also the current implementation
> is redundant because the pointer cfv->vdev is dereferenced before it is
> checked for NULL.
> 
> Fix this by checking cfv->vq_tx for NULL instead of cfv->vdev before
> calling del_vqs().
> 
> [...]

Here is the summary with links:
  - caif_virtio: fix wrong pointer check in cfv_probe()
    https://git.kernel.org/netdev/net/c/a466fd7e9faf

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