summaryrefslogtreecommitdiff
path: root/emulators/qemu/files/patch-tapclose
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu/files/patch-tapclose')
-rw-r--r--emulators/qemu/files/patch-tapclose18
1 files changed, 0 insertions, 18 deletions
diff --git a/emulators/qemu/files/patch-tapclose b/emulators/qemu/files/patch-tapclose
deleted file mode 100644
index 8da33adb673f..000000000000
--- a/emulators/qemu/files/patch-tapclose
+++ /dev/null
@@ -1,18 +0,0 @@
-Index: qemu/net.c
-@@ -1643,12 +1643,13 @@ static void tap_cleanup(VLANClientState
-
- qemu_purge_queued_packets(vc);
-
-- if (s->down_script[0])
-- launch_script(s->down_script, s->down_script_arg, s->fd);
--
- tap_read_poll(s, 0);
- tap_write_poll(s, 0);
- close(s->fd);
-+
-+ if (s->down_script[0])
-+ launch_script(s->down_script, s->down_script_arg, -1);
-+
- qemu_free(s);
- }
-