diff options
author | Alex Williamson <alex.williamson@hp.com> | 2009-01-26 05:06:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-26 05:06:26 +0300 |
commit | e918085aaff34086e265f825dd469926b1aec4a4 (patch) | |
tree | cdd8c27d63026efb387ce585dd738b299f9f3479 /net/key | |
parent | 801599b0cd4c026a18fb9fce436eae4459f799a6 (diff) | |
download | linux-e918085aaff34086e265f825dd469926b1aec4a4.tar.xz |
virtio_net: Fix MAX_PACKET_LEN to support 802.1Q VLANs
802.1Q expanded the maximum ethernet frame size by 4 bytes for the
VLAN tag. We're not taking this into account in virtio_net, which
means the buffers we provide to the backend in the virtqueue RX ring
aren't big enough to hold a full MTU VLAN packet. For QEMU/KVM,
this results in the backend exiting with a packet truncation error.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Acked-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions