net: Fix missing meta data in skb with vlan packet
authorYuya Kusakabe <yuya.kusakabe@gmail.com>
Tue, 16 Apr 2019 01:22:28 +0000 (10:22 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Apr 2019 04:29:38 +0000 (21:29 -0700)
commitd85e8be2a5a02869f815dd0ac2d743deb4cd7957
tree00badaa5ac62ee6c27c7f5757bfb5b41d760f037
parent899537b73557aafbdd11050b501cf54b4f5c45af
net: Fix missing meta data in skb with vlan packet

skb_reorder_vlan_header() should move XDP meta data with ethernet header
if XDP meta data exists.

Fixes: de8f3a83b0a0 ("bpf: add meta pointer for direct access")
Signed-off-by: Yuya Kusakabe <yuya.kusakabe@gmail.com>
Signed-off-by: Takeru Hayasaka <taketarou2@gmail.com>
Co-developed-by: Takeru Hayasaka <taketarou2@gmail.com>
Reviewed-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c