Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Tue, 29 Dec 2020 10:01:48 +0800 you wrote:
> From: Yunjian Wang <wangyunj...@huawei.com>
> 
> Currently the vhost_zerocopy_callback() maybe be called to decrease
> the refcount when sendmsg fails in tun. The error handling in vhost
> handle_tx_zerocopy() will try to decrease the same refcount again.
> This is wrong. To fix this issue, we only call vhost_net_ubuf_put()
> when vq->heads[nvq->desc].len == VHOST_DMA_IN_PROGRESS.
> 
> [...]

Here is the summary with links:
  - [net,v6] vhost_net: fix ubuf refcount incorrectly when sendmsg fails
    https://git.kernel.org/netdev/net/c/01e31bea7e62

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


Reply via email to