diff options
| author | Jason Wang <[email protected]> | 2025-09-17 06:30:43 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2025-09-19 08:15:26 +0000 |
| commit | 90beccb3e1287b8d596c4816530ef54df01aa11f (patch) | |
| tree | 5690a379652d929e71c9ee5c3da3f5c248c7c282 /drivers/fpga/xilinx-selectmap.c | |
| parent | vhost-scsi: fix argument order in tport allocation error message (diff) | |
| download | kernel-90beccb3e1287b8d596c4816530ef54df01aa11f.tar.gz kernel-90beccb3e1287b8d596c4816530ef54df01aa11f.zip | |
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 <[email protected]>
Cc: [email protected]
Fixes: 67a873df0c41 ("vhost: basic in order support")
Signed-off-by: Jason Wang <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions
