Re: [Qemu-devel] [PATCH] net: initialize vnet_hdr in net_tap_init()

2009-11-24 Thread Pierre Riteau
On 24 nov. 2009, at 11:05, Mark McLoughlin wrote: > Hi Pierre, > > On Tue, 2009-11-24 at 10:06 +0100, Pierre Riteau wrote: >> vnet_hdr is initialized at 1 by default. We need to reset it to 0 if >> the kernel doesn't support IFF_VNET_HDR. > > Thanks for the patch, but I'd prefer us to make sure

[Qemu-devel] [PATCH] net: initialize vnet_hdr in net_tap_init()

2009-11-24 Thread Mark McLoughlin
Hi Pierre, On Tue, 2009-11-24 at 10:06 +0100, Pierre Riteau wrote: > vnet_hdr is initialized at 1 by default. We need to reset it to 0 if > the kernel doesn't support IFF_VNET_HDR. Thanks for the patch, but I'd prefer us to make sure we catch all cases. Does this work for you? Thanks, Mark. Fr