Skip to content

Commit 9676fec

Browse files
IronShenAlexei Starovoitov
authored andcommitted
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: cf204a7 ("bpf, testing: Introduce 'gso_linear_no_head_frag' skb_segment test") Signed-off-by: Jian Shen <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
1 parent 7308748 commit 9676fec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/test_bpf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14733,9 +14733,9 @@ static struct skb_segment_test skb_segment_tests[] __initconst = {
1473314733
.build_skb = build_test_skb_linear_no_head_frag,
1473414734
.features = NETIF_F_SG | NETIF_F_FRAGLIST |
1473514735
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_GSO |
14736-
NETIF_F_LLTX_BIT | NETIF_F_GRO |
14736+
NETIF_F_LLTX | NETIF_F_GRO |
1473714737
NETIF_F_IPV6_CSUM | NETIF_F_RXCSUM |
14738-
NETIF_F_HW_VLAN_STAG_TX_BIT
14738+
NETIF_F_HW_VLAN_STAG_TX
1473914739
}
1474014740
};
1474114741

0 commit comments

Comments
 (0)