Skip to content

Commit 1d0795e

Browse files
Paolo Abenidavem330
authored andcommitted
selftests: explicitly require kernel features needed by udpgro tests
commit 3327a9c ("selftests: add functionals test for UDP GRO") make use of ipv6 NAT, but such a feature is not currently implied by selftests. Since the 'ip[6]tables' commands may actually create nft rules, depending on the specific user-space version, let's pull both NF and NFT nat modules plus the needed deps. Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> Fixes: 3327a9c ("selftests: add functionals test for UDP GRO") Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent f072df9 commit 1d0795e

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

  • tools/testing/selftests/net

‎tools/testing/selftests/net/config‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,17 @@ CONFIG_IPV6_VTI=y
1414
CONFIG_DUMMY=y
1515
CONFIG_BRIDGE=y
1616
CONFIG_VLAN_8021Q=y
17+
CONFIG_NETFILTER=y
18+
CONFIG_NETFILTER_ADVANCED=y
19+
CONFIG_NF_CONNTRACK=m
20+
CONFIG_NF_NAT_IPV6=m
21+
CONFIG_NF_NAT_IPV4=m
22+
CONFIG_IP6_NF_IPTABLES=m
23+
CONFIG_IP_NF_IPTABLES=m
24+
CONFIG_IP6_NF_NAT=m
25+
CONFIG_IP_NF_NAT=m
26+
CONFIG_NF_TABLES=m
27+
CONFIG_NF_TABLES_IPV6=y
28+
CONFIG_NF_TABLES_IPV4=y
29+
CONFIG_NFT_CHAIN_NAT_IPV6=m
30+
CONFIG_NFT_CHAIN_NAT_IPV4=m

0 commit comments

Comments
 (0)