commit | f09e2249c4f5c7c13261ec73f5a7807076af0c8e | [log] [tgz] |
---|---|---|
author | Basil Gor <basil.gor@gmail.com> | Thu May 03 22:55:24 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri May 11 18:16:57 2012 -0400 |
tree | b5de8c35f970b9769a64f76bec869232587c7e45 | |
parent | c53cff5e42a06b81495983bd01741b9a954f11f0 [diff] |
macvtap: restore vlan header on user read 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>