summaryrefslogtreecommitdiff
path: root/packages/qemu/qemu-0.9.0+cvs20070613/22_net_tuntap_stall.patch
blob: e9b31dfe407920c82a3f3483f059fa671b7f3faf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#DPATCHLEVEL=0
---
# vl.c |    2 +-
# 1 file changed, 1 insertion(+), 1 deletion(-)
#
Index: vl.c
===================================================================
--- vl.c.orig	2007-06-13 11:51:53.000000000 +0100
+++ vl.c	2007-06-13 11:52:10.000000000 +0100
@@ -3617,7 +3617,7 @@ static int tap_open(char *ifname, int if
         return -1;
     }
     memset(&ifr, 0, sizeof(ifr));
-    ifr.ifr_flags = IFF_TAP | IFF_NO_PI;
+    ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_ONE_QUEUE;
     if (ifname[0] != '\0')
         pstrcpy(ifr.ifr_name, IFNAMSIZ, ifname);
     else