mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-20 09:34:44 +08:00
f56d1eeaea
When running Kselftests with the current selftests/net/config the following problem can be seen with the net:xfrm_policy.sh selftest: # selftests: net: xfrm_policy.sh [ 41.076721] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 41.094787] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 41.107635] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready # modprobe: FATAL: Module ip_tables not found in directory /lib/modules/6.1.36 # iptables v1.8.7 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?) # Perhaps iptables or your kernel needs to be upgraded. # modprobe: FATAL: Module ip_tables not found in directory /lib/modules/6.1.36 # iptables v1.8.7 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?) # Perhaps iptables or your kernel needs to be upgraded. # SKIP: Could not insert iptables rule ok 1 selftests: net: xfrm_policy.sh # SKIP This is because IPsec "policy" match support is not available to the kernel. This patch adds CONFIG_NETFILTER_XT_MATCH_POLICY as a module to the selftests/net/config file, so that `make kselftest-merge` can take this into consideration. Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
54 lines
1.1 KiB
Plaintext
54 lines
1.1 KiB
Plaintext
CONFIG_USER_NS=y
|
|
CONFIG_NET_NS=y
|
|
CONFIG_BPF_SYSCALL=y
|
|
CONFIG_TEST_BPF=m
|
|
CONFIG_NUMA=y
|
|
CONFIG_RPS=y
|
|
CONFIG_SYSFS=y
|
|
CONFIG_PROC_SYSCTL=y
|
|
CONFIG_NET_VRF=y
|
|
CONFIG_NET_L3_MASTER_DEV=y
|
|
CONFIG_IPV6=y
|
|
CONFIG_IPV6_MULTIPLE_TABLES=y
|
|
CONFIG_VETH=y
|
|
CONFIG_NET_IPVTI=y
|
|
CONFIG_IPV6_VTI=y
|
|
CONFIG_DUMMY=y
|
|
CONFIG_BRIDGE=y
|
|
CONFIG_VLAN_8021Q=y
|
|
CONFIG_IFB=y
|
|
CONFIG_NETFILTER=y
|
|
CONFIG_NETFILTER_ADVANCED=y
|
|
CONFIG_NF_CONNTRACK=m
|
|
CONFIG_NF_NAT=m
|
|
CONFIG_IP6_NF_IPTABLES=m
|
|
CONFIG_IP_NF_IPTABLES=m
|
|
CONFIG_IP6_NF_NAT=m
|
|
CONFIG_IP_NF_NAT=m
|
|
CONFIG_NF_TABLES=m
|
|
CONFIG_NF_TABLES_IPV6=y
|
|
CONFIG_NF_TABLES_IPV4=y
|
|
CONFIG_NFT_NAT=m
|
|
CONFIG_NET_SCH_FQ=m
|
|
CONFIG_NET_SCH_ETF=m
|
|
CONFIG_NET_SCH_NETEM=y
|
|
CONFIG_TEST_BLACKHOLE_DEV=m
|
|
CONFIG_KALLSYMS=y
|
|
CONFIG_TRACEPOINTS=y
|
|
CONFIG_NET_DROP_MONITOR=m
|
|
CONFIG_NETDEVSIM=m
|
|
CONFIG_NET_FOU=m
|
|
CONFIG_MPLS_ROUTING=m
|
|
CONFIG_MPLS_IPTUNNEL=m
|
|
CONFIG_NET_SCH_INGRESS=m
|
|
CONFIG_NET_CLS_FLOWER=m
|
|
CONFIG_NET_ACT_TUNNEL_KEY=m
|
|
CONFIG_NET_ACT_MIRRED=m
|
|
CONFIG_BAREUDP=m
|
|
CONFIG_IPV6_IOAM6_LWTUNNEL=y
|
|
CONFIG_CRYPTO_SM4_GENERIC=y
|
|
CONFIG_AMT=m
|
|
CONFIG_VXLAN=m
|
|
CONFIG_IP_SCTP=m
|
|
CONFIG_NETFILTER_XT_MATCH_POLICY=m
|