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

NetRxPkt: Account buffer with ETH header in IOV length



In case of VLAN stripping ETH header is stored in a
separate chunk and length of IOV should take this into
account.

This patch fixes checksum validation for RX packets
with VLAN header.

Devices affected by this problem: e1000e and vmxnet3.

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 c5d083c5)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 15ad0660
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