diff options
author | Alex Williamson <alex.williamson@hp.com> | 2009-02-13 00:06:29 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-02-17 09:29:00 -0800 |
commit | cb8de065c36dafcc7e40104f6311b6b2d0d37596 (patch) | |
tree | 8b6655e7e106ba7aa9ede57e366568aeaca1e228 /net/ipv4/tcp.c | |
parent | 9ac2dfbf36bfd3913267be078f756e0806b3694f (diff) |
virtio_net: Fix MAX_PACKET_LEN to support 802.1Q VLANs
[ Upstream commit e918085aaff34086e265f825dd469926b1aec4a4 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions