mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-07-14 21:43:02 +02:00
[ Upstream commitb849c566ee] Add missing netfilter config dependency. Fixes following example error when running tests via tdc.sh for all XT tests: # $ sudo ./tdc.py -d eth2 -e 2029 # Test 2029: Add xt action with log-prefix # exit: 255 # exit: 0 # failed to find target LOG # # bad action parsing # parse_action: bad value (7:xt)! # Illegal "action" # # -----> teardown stage *** Could not execute: "$TC actions flush action xt" # # -----> teardown stage *** Error message: "Error: Cannot flush unknown TC action. # We have an error flushing # " # returncode 1; expected [0] # # -----> teardown stage *** Aborting test run. # # <_io.BufferedReader name=3> *** stdout *** # # <_io.BufferedReader name=5> *** stderr *** # "-----> teardown stage" did not complete successfully # Exception <class '__main__.PluginMgrTestFail'> ('teardown', ' failed to find target LOG\n\nbad action parsing\nparse_action: bad value (7:xt)!\nIllegal "action"\n', '"-----> teardown stage" did not complete successfully') (caught in test_runner, running test 2 2029 Add xt action with log-prefix stage teardown) # --------------- # traceback # File "/images/src/linux/tools/testing/selftests/tc-testing/./tdc.py", line 495, in test_runner # res = run_one_test(pm, args, index, tidx) # File "/images/src/linux/tools/testing/selftests/tc-testing/./tdc.py", line 434, in run_one_test # prepare_env(args, pm, 'teardown', '-----> teardown stage', tidx['teardown'], procout) # File "/images/src/linux/tools/testing/selftests/tc-testing/./tdc.py", line 245, in prepare_env # raise PluginMgrTestFail( # --------------- # accumulated output for this test: # failed to find target LOG # # bad action parsing # parse_action: bad value (7:xt)! # Illegal "action" # # --------------- # # All test results: # # 1..1 # ok 1 2029 - Add xt action with log-prefix # skipped - "-----> teardown stage" did not complete successfully Fixes:910d504bc1("selftests/tc-testings: add selftests for xt action") Signed-off-by: Vlad Buslov <vladbu@nvidia.com> Reviewed-by: Pedro Tammela <pctammela@mojatatu.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
109 lines
2.1 KiB
Plaintext
109 lines
2.1 KiB
Plaintext
#
|
|
# Core Netfilter Configuration
|
|
#
|
|
CONFIG_NF_CONNTRACK=m
|
|
CONFIG_NF_CONNTRACK_MARK=y
|
|
CONFIG_NF_CONNTRACK_ZONES=y
|
|
CONFIG_NF_CONNTRACK_LABELS=y
|
|
CONFIG_NF_NAT=m
|
|
CONFIG_NETFILTER_XT_TARGET_LOG=m
|
|
|
|
CONFIG_NET_SCHED=y
|
|
|
|
#
|
|
# Queueing/Scheduling
|
|
#
|
|
CONFIG_NET_SCH_ATM=m
|
|
CONFIG_NET_SCH_CAKE=m
|
|
CONFIG_NET_SCH_CBQ=m
|
|
CONFIG_NET_SCH_CBS=m
|
|
CONFIG_NET_SCH_CHOKE=m
|
|
CONFIG_NET_SCH_CODEL=m
|
|
CONFIG_NET_SCH_DRR=m
|
|
CONFIG_NET_SCH_DSMARK=m
|
|
CONFIG_NET_SCH_ETF=m
|
|
CONFIG_NET_SCH_FQ=m
|
|
CONFIG_NET_SCH_FQ_CODEL=m
|
|
CONFIG_NET_SCH_GRED=m
|
|
CONFIG_NET_SCH_HFSC=m
|
|
CONFIG_NET_SCH_HHF=m
|
|
CONFIG_NET_SCH_HTB=m
|
|
CONFIG_NET_SCH_INGRESS=m
|
|
CONFIG_NET_SCH_MQPRIO=m
|
|
CONFIG_NET_SCH_MULTIQ=m
|
|
CONFIG_NET_SCH_NETEM=m
|
|
CONFIG_NET_SCH_PIE=m
|
|
CONFIG_NET_SCH_PLUG=m
|
|
CONFIG_NET_SCH_PRIO=m
|
|
CONFIG_NET_SCH_QFQ=m
|
|
CONFIG_NET_SCH_SFB=m
|
|
CONFIG_NET_SCH_SFQ=m
|
|
CONFIG_NET_SCH_SKBPRIO=m
|
|
CONFIG_NET_SCH_TAPRIO=m
|
|
CONFIG_NET_SCH_TBF=m
|
|
CONFIG_NET_SCH_TEQL=m
|
|
|
|
#
|
|
# Classification
|
|
#
|
|
CONFIG_NET_CLS=y
|
|
CONFIG_NET_CLS_FW=m
|
|
CONFIG_NET_CLS_U32=m
|
|
CONFIG_CLS_U32_PERF=y
|
|
CONFIG_CLS_U32_MARK=y
|
|
CONFIG_NET_CLS_BASIC=m
|
|
CONFIG_NET_CLS_BPF=m
|
|
CONFIG_NET_CLS_CGROUP=m
|
|
CONFIG_NET_CLS_FLOW=m
|
|
CONFIG_NET_CLS_FLOWER=m
|
|
CONFIG_NET_CLS_MATCHALL=m
|
|
CONFIG_NET_CLS_ROUTE4=m
|
|
CONFIG_NET_CLS_RSVP=m
|
|
CONFIG_NET_CLS_TCINDEX=m
|
|
CONFIG_NET_EMATCH=y
|
|
CONFIG_NET_EMATCH_STACK=32
|
|
CONFIG_NET_EMATCH_CMP=m
|
|
CONFIG_NET_EMATCH_NBYTE=m
|
|
CONFIG_NET_EMATCH_U32=m
|
|
CONFIG_NET_EMATCH_META=m
|
|
CONFIG_NET_EMATCH_TEXT=m
|
|
CONFIG_NET_EMATCH_IPSET=m
|
|
CONFIG_NET_EMATCH_CANID=m
|
|
CONFIG_NET_EMATCH_IPT=m
|
|
CONFIG_NET_CLS_ACT=y
|
|
CONFIG_NET_ACT_POLICE=m
|
|
CONFIG_NET_ACT_GACT=m
|
|
CONFIG_GACT_PROB=y
|
|
CONFIG_NET_ACT_MIRRED=m
|
|
CONFIG_NET_ACT_SAMPLE=m
|
|
CONFIG_NET_ACT_IPT=m
|
|
CONFIG_NET_ACT_NAT=m
|
|
CONFIG_NET_ACT_PEDIT=m
|
|
CONFIG_NET_ACT_SIMP=m
|
|
CONFIG_NET_ACT_SKBEDIT=m
|
|
CONFIG_NET_ACT_CSUM=m
|
|
CONFIG_NET_ACT_VLAN=m
|
|
CONFIG_NET_ACT_BPF=m
|
|
CONFIG_NET_ACT_CONNMARK=m
|
|
CONFIG_NET_ACT_CTINFO=m
|
|
CONFIG_NET_ACT_SKBMOD=m
|
|
CONFIG_NET_ACT_IFE=m
|
|
CONFIG_NET_ACT_TUNNEL_KEY=m
|
|
CONFIG_NET_ACT_CT=m
|
|
CONFIG_NET_ACT_MPLS=m
|
|
CONFIG_NET_ACT_GATE=m
|
|
CONFIG_NET_IFE_SKBMARK=m
|
|
CONFIG_NET_IFE_SKBPRIO=m
|
|
CONFIG_NET_IFE_SKBTCINDEX=m
|
|
CONFIG_NET_SCH_FIFO=y
|
|
CONFIG_NET_SCH_ETS=m
|
|
CONFIG_NET_SCH_RED=m
|
|
CONFIG_NET_SCH_FQ_PIE=m
|
|
CONFIG_NETDEVSIM=m
|
|
|
|
#
|
|
## Network testing
|
|
#
|
|
CONFIG_CAN=m
|
|
CONFIG_ATM=y
|