Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 114e6f3a authored by jvrao's avatar jvrao Committed by Eric Van Hensbergen
Browse files

Fix the size of receive buffer packing onto VirtIO ring.

parent e660a828
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -367,7 +367,7 @@ p9_virtio_request(struct p9_client *client, struct p9_req_t *req)
		in += inp;
	} else {
		in = pack_sg_list(chan->sg, out, VIRTQUEUE_NUM, rdata,
				client->msize);
				req->rc->capacity);
	}

	err = virtqueue_add_buf(chan->vq, chan->sg, out, in, req->tc);