Jason Wang 0cf33fb6b4 virtio-net: correctly drop truncated packets
When packet is truncated during receiving, we drop the packets but
neither discard the descriptor nor add and signal used
descriptor. This will lead several issues:

- sg mappings are leaked
- rx will be stalled if a lots of packets were truncated

In order to be consistent with vhost, fix by discarding the descriptor
in this case.

Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-10-01 16:16:52 +03:00
2015-07-08 13:11:01 +02:00
2015-09-14 16:13:16 +01:00
2015-09-11 10:45:43 +03:00
2015-09-25 21:52:30 +01:00
2015-09-11 10:45:43 +03:00
2015-09-11 10:21:38 +03:00
2015-09-11 10:45:43 +03:00
2015-09-19 11:53:15 +02:00
2015-09-25 23:14:00 +01:00
2015-09-30 09:42:04 +02:00
2015-07-27 22:44:47 +03:00
2015-09-14 16:13:16 +01:00
2015-09-04 13:26:26 +02:00
2015-09-07 18:14:03 +02:00
2015-09-07 18:14:03 +02:00
2015-09-01 13:16:26 -05:00
2015-09-29 11:33:02 +05:30
2015-09-16 17:33:33 +02:00
2015-08-19 16:29:53 +01:00
2015-08-11 23:15:55 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 531 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%