OpenCloudOS-Kernel/drivers/vhost
Basil Gor c53cff5e42 vhost-net: fix handle_rx buffer size
Take vlan header length into account, when vlan id is stored as
vlan_tci. Otherwise tagged packets coming from macvtap will be
truncated.

Signed-off-by: Basil Gor <basil.gor@gmail.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-05-11 18:16:57 -04:00
..
Kconfig net/macvtap: add vhost support 2010-02-18 14:08:38 -08:00
Makefile vhost_net: a kernel-level virtio server 2010-01-15 01:43:29 -08:00
net.c vhost-net: fix handle_rx buffer size 2012-05-11 18:16:57 -04:00
test.c tools/virtio: fix up vhost/test module build 2012-04-12 10:35:42 +03:00
test.h vhost test module 2010-12-09 16:00:21 +02:00
vhost.c skbuff: struct ubuf_info callback type safety 2012-04-13 13:09:19 -04:00
vhost.h skbuff: struct ubuf_info callback type safety 2012-04-13 13:09:19 -04:00