qemu/net
Michael S. Tsirkin 58ddcd50f3 tap: reset vnet header size on open
For tap, we currently assume the vnet header size is 10
(the default value) but that might not be the case
if tap is persistent and has been used by qemu previously.
To fix, set host header size in tap device on open.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2012-11-20 15:38:37 +01:00
..
checksum.c Change license from GPLv2 to GPLv2+ 2012-02-01 16:24:54 -06:00
checksum.h net: move net-checksum.c under net/ 2009-10-30 08:39:26 -05:00
clients.h net: consolidate NetClientState header files into one 2012-10-08 13:59:40 +02:00
dump.c net: consolidate NetClientState header files into one 2012-10-08 13:59:40 +02:00
hub.c net: consolidate NetClientState header files into one 2012-10-08 13:59:40 +02:00
hub.h net: consolidate NetClientState header files into one 2012-10-08 13:59:40 +02:00
Makefile.objs net: Add a hub net client 2012-08-01 12:28:51 +01:00
queue.c net: do not report queued packets as sent 2012-09-14 08:40:32 +01:00
queue.h net: notify iothread after flushing queue 2012-09-14 08:40:31 +01:00
slirp.c slirp: Add domain-search option to slirp's DHCP server 2012-11-15 10:27:14 +01:00
slirp.h net: consolidate NetClientState header files into one 2012-10-08 13:59:40 +02:00
socket.c net: use "socket" model name for UDP sockets 2012-11-01 11:00:59 +01:00
tap-aix.c convert net_init_tap() to NetClientOptions 2012-07-23 11:55:18 +01:00
tap-bsd.c convert net_init_tap() to NetClientOptions 2012-07-23 11:55:18 +01:00
tap-haiku.c convert net_init_tap() to NetClientOptions 2012-07-23 11:55:18 +01:00
tap-linux.c convert net_init_tap() to NetClientOptions 2012-07-23 11:55:18 +01:00
tap-linux.h tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-solaris.c convert net_init_tap() to NetClientOptions 2012-07-23 11:55:18 +01:00
tap-win32.c tap-win32: stubs to fix win32 build 2012-10-30 19:18:53 +00:00
tap.c tap: reset vnet header size on open 2012-11-20 15:38:37 +01:00
tap.h net: consolidate NetClientState header files into one 2012-10-08 13:59:40 +02:00
util.c net: move parse_macaddr() to net/util.[ch] 2009-12-03 09:41:34 -06:00
util.h net: move parse_macaddr() to net/util.[ch] 2009-12-03 09:41:34 -06:00
vde.c net: consolidate NetClientState header files into one 2012-10-08 13:59:40 +02:00