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 @@ req_retry_pinned:
		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);