Message ID | 1395566923-5074-6-git-send-email-prasadjoshi.linux@gmail.com |
---|---|
State | New |
Headers | show |
On Sun, Mar 23, 2014 at 02:58:43PM +0530, Prasad Joshi wrote: > Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com> > --- > net/netmap.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
On Sun, Mar 23, 2014 at 02:58:43PM +0530, Prasad Joshi wrote: > Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com> > --- > net/netmap.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Thanks, applied to my net tree: https://github.com/stefanha/qemu/commits/net Stefan
diff --git a/net/netmap.c b/net/netmap.c index 8213304..0c1772b 100644 --- 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); } }
Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com> --- net/netmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)