Message ID | 1242574999-20887-9-git-send-email-aliguori@us.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/net.c b/net.c index 08cd8c1..d8fb759 100644 --- a/net.c +++ b/net.c @@ -945,6 +945,7 @@ static TAPState *net_tap_fd_init(VLANState *vlan, #endif #ifdef TUNSETOFFLOAD s->vc->set_offload = tap_set_offload; + tap_set_offload(s->vc, 0, 0, 0, 0); #endif qemu_set_fd_handler2(s->fd, tap_can_send, tap_send, NULL, s); snprintf(s->vc->info_str, sizeof(s->vc->info_str), "fd=%d", fd);