diff options
Diffstat (limited to 'meta/packages/qemu/files/22_net_tuntap_stall.patch')
-rw-r--r-- | meta/packages/qemu/files/22_net_tuntap_stall.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/qemu/files/22_net_tuntap_stall.patch b/meta/packages/qemu/files/22_net_tuntap_stall.patch new file mode 100644 index 0000000000..e9b31dfe40 --- /dev/null +++ b/meta/packages/qemu/files/22_net_tuntap_stall.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | #DPATCHLEVEL=0 | ||
2 | --- | ||
3 | # vl.c | 2 +- | ||
4 | # 1 file changed, 1 insertion(+), 1 deletion(-) | ||
5 | # | ||
6 | Index: vl.c | ||
7 | =================================================================== | ||
8 | --- vl.c.orig 2007-06-13 11:51:53.000000000 +0100 | ||
9 | +++ vl.c 2007-06-13 11:52:10.000000000 +0100 | ||
10 | @@ -3617,7 +3617,7 @@ static int tap_open(char *ifname, int if | ||
11 | return -1; | ||
12 | } | ||
13 | memset(&ifr, 0, sizeof(ifr)); | ||
14 | - ifr.ifr_flags = IFF_TAP | IFF_NO_PI; | ||
15 | + ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_ONE_QUEUE; | ||
16 | if (ifname[0] != '\0') | ||
17 | pstrcpy(ifr.ifr_name, IFNAMSIZ, ifname); | ||
18 | else | ||