| Submitter | Pavel Dovgaluk |
|---|---|
| Date | Feb. 21, 2011, 11:47 a.m. |
| Message ID | <000101cbd1bd$2ac21e20$80465a60$@Dovgaluk@ispras.ru> |
| Download | mbox | patch |
| Permalink | /patch/83827/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/net/tap-win32.c b/net/tap-win32.c index 081904e..596132e 100644 --- a/net/tap-win32.c +++ b/net/tap-win32.c @@ -480,7 +480,7 @@ static int tap_win32_write(tap_win32_overlapped_t *overlapped, } } - return 0; + return write_size; } static DWORD WINAPI tap_win32_thread_entry(LPVOID param)
This fix allows connection of internal VLAN to the external TAP interface. If tap_win32_write function always returns 0, the TAP network interface in QEMU is disabled. Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@gmail.com> --- net/tap-win32.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)