projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e660a82
)
Fix the size of receive buffer packing onto VirtIO ring.
author
jvrao
<jvrao@linux.vnet.ibm.com>
Thu, 30 Jun 2011 23:18:39 +0000
(23:18 +0000)
committer
Eric Van Hensbergen
<ericvh@gmail.com>
Sat, 23 Jul 2011 14:32:47 +0000
(09:32 -0500)
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>
net/9p/trans_virtio.c
patch
|
blob
|
blame
|
history
diff --git
a/net/9p/trans_virtio.c
b/net/9p/trans_virtio.c
index 244e70742183dd689c347166885905baa1584e43..0ec5423b409e37bc8edcdb9e4f54217603fd41f2 100644
(file)
--- a/
net/9p/trans_virtio.c
+++ b/
net/9p/trans_virtio.c
@@
-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);