[Qemu-devel] Re: [PATCHv3] virtio-net: correct packet length math

2010-06-25 Thread Amit Shah
On (Thu) Jun 24 2010 [18:54:07], Michael S. Tsirkin wrote: > We were requesting too much when checking buffer > length: size already includes host header length. > > Further, we should not exit if we get a packet that > is too long, since this might not be under control > of the guest. Just drop t

[Qemu-devel] Re: [PATCHv3] virtio-net: correct packet length math

2010-06-25 Thread Michael S. Tsirkin
On Fri, Jun 25, 2010 at 12:47:03PM +0530, Amit Shah wrote: > On (Thu) Jun 24 2010 [18:54:07], Michael S. Tsirkin wrote: > > We were requesting too much when checking buffer > > length: size already includes host header length. > > > > Further, we should not exit if we get a packet that > > is too