projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
839a554
)
net: netmap_poll must update both read/write poll state
author
Prasad Joshi
<prasadjoshi.linux@gmail.com>
Sun, 23 Mar 2014 09:28:43 +0000
(14:58 +0530)
committer
Stefan Hajnoczi
<stefanha@redhat.com>
Tue, 25 Mar 2014 12:31:38 +0000
(13:31 +0100)
Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
net/netmap.c
patch
|
blob
|
history
diff --git
a/net/netmap.c
b/net/netmap.c
index 8213304a5b7c0a6c65668d44e2fa5dda07fcbbe2..0c1772b03f75deba82c0e1b430e21ae156a6d5da 100644
(file)
--- a/
net/netmap.c
+++ b/
net/netmap.c
@@
-177,8
+177,8
@@
static void netmap_poll(NetClientState *nc, bool enable)
NetmapState *s = DO_UPCAST(NetmapState, nc, nc);
if (s->read_poll != enable || s->write_poll != enable) {
- s->
read
_poll = enable;
- s->read_poll = enable;
+ s->
write
_poll = enable;
+ s->read_poll
= enable;
netmap_update_fd_handler(s);
}
}