Skip to content
Commit 15ad0660 authored by Dmitry Fleytman's avatar Dmitry Fleytman Committed by Michael Roth
Browse files

NetRxPkt: Do not try to pull more data than present



In case of VLAN stripping, ETH header put into a
separate buffer, therefore amont of data copied
from original IOV should be smaller.

Cc: qemu-stable@nongnu.org
Signed-off-by: default avatarDmitry Fleytman <dmitry@daynix.com>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
(cherry picked from commit d5e77214)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 7cfd9c11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment