diff options
| author | Vladislav Yasevich | 2015-09-01 17:26:46 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2015-09-02 14:42:31 +0200 |
| commit | 26c4e7ca72d970d120f0f51244bc8d37458512a0 (patch) | |
| tree | 77a907039f026608fccb91362ee5ab6b94bb6a19 /tests/qapi-schema | |
| parent | rtl8139: Fix receive buffer overflow check (diff) | |
| download | qemu-26c4e7ca72d970d120f0f51244bc8d37458512a0.tar.gz qemu-26c4e7ca72d970d120f0f51244bc8d37458512a0.tar.xz qemu-26c4e7ca72d970d120f0f51244bc8d37458512a0.zip | |
rtl8139: Do not consume the packet during overflow in standard mode.
When operation in standard mode, we currently return the size
of packet during buffer overflow. This consumes the overflow
packet. Return 0 instead so we can re-process the overflow packet
when we have room.
This fixes issues with lost/dropped fragments of large messages.
Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Message-id: 1441121206-6997-3-git-send-email-vyasevic@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qapi-schema')
0 files changed, 0 insertions, 0 deletions
