diff options
| author | Sergey Lapin <slapin@ossfans.org> | 2010-03-22 18:13:56 +0300 |
|---|---|---|
| committer | Sergey Lapin <slapin@ossfans.org> | 2010-03-22 18:13:56 +0300 |
| commit | 3937c88166a493900a694ea8fe53b860f4099d83 (patch) | |
| tree | 57597245b6efd4cf27c1f4c9ff21c0515e530c15 /recipes/qemu/qemu-0.12.3/22_net_tuntap_stall.patch | |
| parent | df2ace6d59e22b42e50bcf4e8a9c92b580602c2e (diff) | |
| parent | 3510d2ed15a4b477aa7af802a839e11a87b981ed (diff) | |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/qemu/qemu-0.12.3/22_net_tuntap_stall.patch')
| -rw-r--r-- | recipes/qemu/qemu-0.12.3/22_net_tuntap_stall.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/qemu/qemu-0.12.3/22_net_tuntap_stall.patch b/recipes/qemu/qemu-0.12.3/22_net_tuntap_stall.patch new file mode 100644 index 0000000000..01dc29d910 --- /dev/null +++ b/recipes/qemu/qemu-0.12.3/22_net_tuntap_stall.patch @@ -0,0 +1,25 @@ +Index: qemu-0.12.3/net/tap-linux.c +=================================================================== +--- qemu-0.12.3.orig/net/tap-linux.c ++++ qemu-0.12.3/net/tap-linux.c +@@ -43,7 +43,7 @@ int tap_open(char *ifname, int ifname_si + 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 (*vnet_hdr) { + unsigned int features; +Index: qemu-0.12.3/net/tap-linux.h +=================================================================== +--- qemu-0.12.3.orig/net/tap-linux.h ++++ qemu-0.12.3/net/tap-linux.h +@@ -33,6 +33,7 @@ + /* TUNSETIFF ifr flags */ + #define IFF_TAP 0x0002 + #define IFF_NO_PI 0x1000 ++#define IFF_ONE_QUEUE 0x2000 + #define IFF_VNET_HDR 0x4000 + + /* Features for GSO (TUNSETOFFLOAD). */ |
