Merge tag 'devicetree-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / vhost / net.c
index 28ef323..792ab5f 100644 (file)
@@ -473,6 +473,7 @@ static void vhost_tx_batch(struct vhost_net *net,
                goto signal_used;
 
        msghdr->msg_control = &ctl;
+       msghdr->msg_controllen = sizeof(ctl);
        err = sock->ops->sendmsg(sock, msghdr, 0);
        if (unlikely(err < 0)) {
                vq_err(&nvq->vq, "Fail to batch sending packets\n");