summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-tapclose
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2013-03-29 17:40:38 +0000
committerJuergen Lock <nox@FreeBSD.org>2013-03-29 17:40:38 +0000
commit45aa9370f03dfaf05a98af04f0addd7e3998d771 (patch)
treed33294058708ce0ec0faa156a7ed184dea6cdc1d /emulators/qemu-devel/files/patch-tapclose
parent- (force commit to note) add new port: games/chessx (diff)
- Update net/usbredir to 0.6 .
- Update emulators/qemu-devel to 1.4.0 with preliminary bsd-user patches. Thanx to: sson, cognet, and others for much improved bsd-user support - it now runs at least quite a few mips64 and single-threaded arm binaries, see: https://wiki.freebsd.org/QemuUserModeHowTo
Notes
Notes: svn path=/head/; revision=315552
Diffstat (limited to 'emulators/qemu-devel/files/patch-tapclose')
-rw-r--r--emulators/qemu-devel/files/patch-tapclose6
1 files changed, 3 insertions, 3 deletions
diff --git a/emulators/qemu-devel/files/patch-tapclose b/emulators/qemu-devel/files/patch-tapclose
index a5b8dfb0bf3f..d4a27c268197 100644
--- a/emulators/qemu-devel/files/patch-tapclose
+++ b/emulators/qemu-devel/files/patch-tapclose
@@ -1,13 +1,13 @@
Index: qemu/net/tap.c
-@@ -287,12 +287,13 @@ static void tap_cleanup(VLANClientState
+@@ -286,12 +286,13 @@ static void tap_cleanup(NetClientState *
qemu_purge_queued_packets(nc);
- 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);
+ tap_read_poll(s, false);
+ tap_write_poll(s, false);
close(s->fd);
+
+ if (s->down_script[0])