Re: [Qemu-devel] [PATCH] net: do not report queued packets as sent

2012-08-29 Thread Stefan Hajnoczi
On Mon, Aug 20, 2012 at 02:22:40PM +0100, Stefan Hajnoczi wrote: > Net send functions have a return value where 0 means the packet has not > been sent and will be queued. A non-zero value means the packet was > sent or an error caused the packet to be dropped. > > This patch fixes two instances w

[Qemu-devel] [PATCH] net: do not report queued packets as sent

2012-08-20 Thread Stefan Hajnoczi
Net send functions have a return value where 0 means the packet has not been sent and will be queued. A non-zero value means the packet was sent or an error caused the packet to be dropped. This patch fixes two instances where packets are queued but we return their size. This causes callers to b