Skip to content

Commit

Permalink
Fix the size of receive buffer packing onto VirtIO ring.
Browse files Browse the repository at this point in the history
Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
  • Loading branch information
jvrao authored and Eric Van Hensbergen committed Jul 23, 2011
1 parent e660a82 commit 114e6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/9p/trans_virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 114e6f3

Please sign in to comment.