macvtap: restore vlan header on user read
authorBasil Gor <basil.gor@gmail.com>
Thu, 3 May 2012 22:55:24 +0000 (22:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 May 2012 22:16:57 +0000 (18:16 -0400)
Ethernet vlan header is not on the packet and kept in the skb->vlan_tci
when it comes from lower dev. This patch inserts vlan header in user
buffer during skb copy on user read.

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>

No differences found