Message ID | 20250130133447.873566-2-mjt@tls.msk.ru (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [PULL,1/7] net: Fix announce_self | expand |
diff --git a/net/net.c b/net/net.c index c1bb19a523..9cded70dde 100644 --- a/net/net.c +++ b/net/net.c @@ -822,6 +822,7 @@ static ssize_t qemu_deliver_packet_iov(NetClientState *sender, iov_copy[0].iov_len = nc->vnet_hdr_len; memcpy(&iov_copy[1], iov, iovcnt * sizeof(*iov)); iov = iov_copy; + iovcnt++; } if (nc->info->receive_iov) {