summaryrefslogtreecommitdiff
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2025-09-17 14:30:43 +0800
committerMichael S. Tsirkin <mst@redhat.com>2025-09-19 04:15:26 -0400
commit90beccb3e1287b8d596c4816530ef54df01aa11f (patch)
tree5690a379652d929e71c9ee5c3da3f5c248c7c282 /drivers/cdx/controller/cdx_controller.c
parenta318eb807825d71900e212f5aab3469e86feff8e (diff)
vhost-net: unbreak busy polling
Commit 67a873df0c41 ("vhost: basic in order support") pass the number of used elem to vhost_net_rx_peek_head_len() to make sure it can signal the used correctly before trying to do busy polling. But it forgets to clear the count, this would cause the count run out of sync with handle_rx() and break the busy polling. Fixing this by passing the pointer of the count and clearing it after the signaling the used. Acked-by: Michael S. Tsirkin <mst@redhat.com> Cc: stable@vger.kernel.org Fixes: 67a873df0c41 ("vhost: basic in order support") Signed-off-by: Jason Wang <jasowang@redhat.com> Message-Id: <20250917063045.2042-1-jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions