Commit 0e255572 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin

vhost: fix interrupt mitigation with raw sockets

A thinko in code means we never trigger interrupt
mitigation. Fix this.
Reported-by: default avatarJuan Quintela <>
Reported-by: default avatarUnai Uribarri <>
Signed-off-by: default avatarMichael S. Tsirkin <>
parent 1dace8c8
......@@ -125,7 +125,7 @@ static void handle_tx(struct vhost_net *net)
if (wmem < sock->sk->sk_sndbuf * 2)
if (wmem < sock->sk->sk_sndbuf / 2)
hdr_size = vq->hdr_size;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment