Stefan Hajnoczi 190563f9a9 net: fix usbnet_receive() packet drops
The USB network interface has a single buffer which the guest reads
from.  This patch prevents multiple calls to usbnet_receive() from
clobbering the input buffer.  Instead we queue packets until buffer
space becomes available again.

This is inspired by virtio-net and e1000 rxbuf handling.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2012-09-14 08:40:32 +01:00
..
2012-08-22 10:47:17 -05:00
2012-09-05 15:48:57 -03:00
2012-08-22 10:47:17 -05:00
2012-08-28 14:49:59 +02:00
2012-08-22 10:47:17 -05:00
2012-08-22 10:47:17 -05:00
2012-09-07 17:35:34 +02:00
2012-09-10 13:52:28 -05:00
2012-08-28 12:48:39 +02:00
2012-09-08 10:17:57 +00:00
2012-08-22 10:47:17 -05:00
2012-09-06 17:04:33 +02:00
2012-08-22 10:47:17 -05:00
2012-08-22 10:47:17 -05:00
2012-08-22 10:47:17 -05:00
2012-08-22 10:47:17 -05:00
2012-08-22 10:47:17 -05:00
2012-09-11 07:43:01 +02:00
2012-09-05 15:48:57 -03:00
2012-09-05 15:48:57 -03:00
2012-09-09 17:03:09 +03:00