]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6c501930bb88832a1fc5b52790aee5247a3de6b4
tree00badaa5ac62ee6c27c7f5757bfb5b41d760f037
parent0a93db20307a68533d9b33ae0fe78d5715f71980
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: 344eaa193a76 ("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