[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160979580863.407.3102826648114498407.git-patchwork-notify@kernel.org>
Date: Mon, 04 Jan 2021 21:30:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: wangyunjian <wangyunjian@...wei.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
mst@...hat.com, jasowang@...hat.com,
willemdebruijn.kernel@...il.com,
virtualization@...ts.linux-foundation.org,
jerry.lilijun@...wei.com, chenchanghu@...wei.com,
xudingke@...wei.com, brian.huangbin@...wei.com
Subject: Re: [PATCH net v6] vhost_net: fix ubuf refcount incorrectly when sendmsg
fails
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 <wangyunjian@...wei.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
Powered by blists - more mailing lists