git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
9p/trans_virtio: discard zero-length reply
[pandora-kernel.git]
/
net
/
9p
/
trans_virtio.c
diff --git
a/net/9p/trans_virtio.c
b/net/9p/trans_virtio.c
index
0a05ac1
..
a107265
100644
(file)
--- a/
net/9p/trans_virtio.c
+++ b/
net/9p/trans_virtio.c
@@
-163,7
+163,8
@@
static void req_done(struct virtqueue *vq)
P9_DPRINTK(P9_DEBUG_TRANS, ": lookup tag %d\n", rc->tag);
req = p9_tag_lookup(chan->client, rc->tag);
req->status = REQ_STATUS_RCVD;
- p9_client_cb(chan->client, req);
+ if (len)
+ p9_client_cb(chan->client, req);
}
}