]> git.baikalelectronics.ru Git - kernel.git/commit
test_bpf: fix incorrect netdev features
authorJian Shen <shenjian15@huawei.com>
Wed, 22 Jun 2022 13:50:02 +0000 (21:50 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 23 Jun 2022 02:20:20 +0000 (19:20 -0700)
commitcfef807a1fc0fe45a5b0b2483e900a5f59f392f5
tree68fa4bc3735b49b612cc49c3d49131b5ca5f6d98
parent8c998d2a3d9b27ef812a827347b88d4ace23db75
test_bpf: fix incorrect netdev features

The prototype of .features is netdev_features_t, it should use
NETIF_F_LLTX and NETIF_F_HW_VLAN_STAG_TX, not NETIF_F_LLTX_BIT
and NETIF_F_HW_VLAN_STAG_TX_BIT.

Fixes: 1d09d1ddc97d ("bpf, testing: Introduce 'gso_linear_no_head_frag' skb_segment test")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/r/20220622135002.8263-1-shenjian15@huawei.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
lib/test_bpf.c