Re: [Qemu-devel] [PATCH] tap: reset vnet header size on open

2012-11-12 Thread Stefan Hajnoczi
On Mon, Nov 12, 2012 at 09:19:18AM +0200, Michael S. Tsirkin wrote: > 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 vnet header size correctly on open. > > Sign

[Qemu-devel] [PATCH] tap: reset vnet header size on open

2012-11-11 Thread Michael S. Tsirkin
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 vnet header size correctly on open. Signed-off-by: Michael S. Tsirkin --- This fixes the issue reported by Alexander G