selftests: net: update netfilter netlink config
Subsystems (5)
PATCH 1/1 selftests: net: update netfilter netlink config
From: Hangbin Liu <[email protected]>
Since commit d4349ba9872d ("netfilter: allow nfnetlink built-in only"), NETFILTER_NETLINK was changed to a bool. Use 'y' instead of 'm'. Otherwise the build emits:
.config:5688:warning: symbol value 'm' invalid for NETFILTER_NETLINK
---
This is a simple update addressing the same issue, so I’d like to post it directly to netdev instead of bothering two separate subsystems (mptcp and netfilter).
--- tools/testing/selftests/net/mptcp/config | 2 +- tools/testing/selftests/net/netfilter/config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/net/mptcp/config +1 -1
@@ -18,7 +18,7 @@ CONFIG_NET_CLS_ACT=y CONFIG_NET_CLS_FW=m CONFIG_NETFILTER=y CONFIG_NETFILTER_ADVANCED=y -CONFIG_NETFILTER_NETLINK=m +CONFIG_NETFILTER_NETLINK=y CONFIG_NETFILTER_XTABLES=m CONFIG_NETFILTER_XTABLES_LEGACY=y CONFIG_NETFILTER_XT_MATCH_BPF=m
tools/testing/selftests/net/netfilter/config +1 -1
@@ -44,7 +44,7 @@ CONFIG_NET_CLS_U32=m CONFIG_NETDEVSIM=m CONFIG_NETFILTER=y CONFIG_NETFILTER_ADVANCED=y -CONFIG_NETFILTER_NETLINK=m +CONFIG_NETFILTER_NETLINK=y CONFIG_NETFILTER_NETLINK_QUEUE=m CONFIG_NETFILTER_SYNPROXY=m CONFIG_NETFILTER_XTABLES=m
---
base-commit: 1dd85662fee6e2ac580b1c4f9a0c0a7ae6e31f0e
change-id: 20260917-selftest_config-286bdd44b22b
Best regards,
Signature · 1 line
Hangbin Liu <[email protected]>
Hi Hangbin,
Thank you for your modifications, that's great!
Our CI did some validations and here is its report:
- KVM Validation: normal (except selftest_mptcp_join): Success! ✅
- KVM Validation: normal (only selftest_mptcp_join): Success! ✅
- KVM Validation: debug (except selftest_mptcp_join): Success! ✅
- KVM Validation: debug (only selftest_mptcp_join): Success! ✅
- KVM Validation: btf-normal (only bpftest_all): Success! ✅
- KVM Validation: btf-debug (only bpftest_all): Success! ✅
- Perf: Success! ✅
- Task: https://github.com/multipath-tcp/mptcp_net-next/actions/runs/35175050231
Initiator: Patchew Applier
Commits: https://github.com/multipath-tcp/mptcp_net-next/commits/a1c252f7ef90
Patchwork: https://patchwork.kernel.org/project/mptcp/list/?series=1167024
If there are some issues, you can reproduce them using the same environment as the one used by the CI thanks to a docker image, e.g.:
$ cd [kernel source code]
$ docker run -v "${PWD}:${PWD}:rw" -w "${PWD}" --privileged --rm -it \
--pull always mptcp/mptcp-upstream-virtme-docker:latest \
auto-normalFor more details:
https://github.com/multipath-tcp/mptcp-upstream-virtme-docker
Please note that despite all the efforts that have been already done to have a stable tests suite when executed on a public CI like here, it is possible some reported issues are not due to your modifications. Still, do not hesitate to help us improve that ;-)
Cheers,
MPTCP GH Action bot
Bot operated by Matthieu Baerts (NGI0 Core)
Quoted 10 lines · Hangbin Liu
From: Hangbin Liu <[email protected]>
Since commit
d4349ba9872d("netfilter: allow nfnetlink built-in only"),NETFILTER_NETLINKwas changed to a bool. Use 'y' instead of 'm'. Otherwise the build emits:.config:5688:warning: symbol value 'm' invalid for
NETFILTER_NETLINKFixes d4349ba9872d ("netfilter: allow nfnetlink built-in only")Signed-off-by Hangbin Liu <[email protected]>
Thanks!
Quoted 41 lines
---
This is a simple update addressing the same issue, so I’d like to post it directly to netdev instead of bothering two separate subsystems (mptcp and netfilter).--- tools/testing/selftests/net/mptcp/config | 2 +- tools/testing/selftests/net/netfilter/config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)tools/testing/selftests/net/mptcp/config +1
-1@@ -18,7 +18,7 @@ CONFIG_NET_CLS_ACT=y CONFIG_NET_CLS_FW=m CONFIG_NETFILTER=y CONFIG_NETFILTER_ADVANCED=y -CONFIG_NETFILTER_NETLINK=m +CONFIG_NETFILTER_NETLINK=y CONFIG_NETFILTER_XTABLES=m CONFIG_NETFILTER_XTABLES_LEGACY=y CONFIG_NETFILTER_XT_MATCH_BPF=mtools/testing/selftests/net/netfilter/config +1
-2@@ -44,7 +44,7 @@ CONFIG_NET_CLS_U32=m CONFIG_NETDEVSIM=m CONFIG_NETFILTER=y CONFIG_NETFILTER_ADVANCED=y -CONFIG_NETFILTER_NETLINK=m +CONFIG_NETFILTER_NETLINK=y CONFIG_NETFILTER_NETLINK_QUEUE=m CONFIG_NETFILTER_SYNPROXY=m CONFIG_NETFILTER_XTABLES=m ---base-commit:
1dd85662fee6e2ac580b1c4f9a0c0a7ae6e31f0e
change-id: 20260917-selftest_config-286bdd44b22bBest regards,
Quoted 7 lines · Fernando Fernandez Mancera
Quoted 6 lines · Hangbin Liu
From: Hangbin Liu <[email protected]>
Since commit
d4349ba9872d("netfilter: allow nfnetlink built-in only"),NETFILTER_NETLINKwas changed to a bool. Use 'y' instead of 'm'. Otherwise the build emits:
Quoted 6 lines
Quoted 4 lines
.config:5688:warning: symbol value 'm' invalid for
NETFILTER_NETLINKFixes d4349ba9872d ("netfilter: allow nfnetlink built-in only")Signed-off-by Hangbin Liu <[email protected]>Reviewed-by Fernando Fernandez Mancera <[email protected]>
Thanks.
Quoted 44 lines
Thanks!
Quoted 41 lines
---
This is a simple update addressing the same issue, so I’d like to post it directly to netdev instead of bothering two separate subsystems (mptcp and netfilter).--- tools/testing/selftests/net/mptcp/config | 2 +- tools/testing/selftests/net/netfilter/config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)tools/testing/selftests/net/mptcp/config +1
-1@@ -18,7 +18,7 @@ CONFIG_NET_CLS_ACT=y CONFIG_NET_CLS_FW=m CONFIG_NETFILTER=y CONFIG_NETFILTER_ADVANCED=y -CONFIG_NETFILTER_NETLINK=m +CONFIG_NETFILTER_NETLINK=y CONFIG_NETFILTER_XTABLES=m CONFIG_NETFILTER_XTABLES_LEGACY=y CONFIG_NETFILTER_XT_MATCH_BPF=mtools/testing/selftests/net/netfilter/config +1
-2@@ -44,7 +44,7 @@ CONFIG_NET_CLS_U32=m CONFIG_NETDEVSIM=m CONFIG_NETFILTER=y CONFIG_NETFILTER_ADVANCED=y -CONFIG_NETFILTER_NETLINK=m +CONFIG_NETFILTER_NETLINK=y CONFIG_NETFILTER_NETLINK_QUEUE=m CONFIG_NETFILTER_SYNPROXY=m CONFIG_NETFILTER_XTABLES=m ---base-commit:
1dd85662fee6e2ac580b1c4f9a0c0a7ae6e31f0e
change-id: 20260917-selftest_config-286bdd44b22bBest regards,
Hi Hangbin,
Quoted 7 lines · Fernando Fernandez Mancera
Quoted 6 lines · Hangbin Liu
From: Hangbin Liu <[email protected]>
Since commit
d4349ba9872d("netfilter: allow nfnetlink built-in only"),NETFILTER_NETLINKwas changed to a bool. Use 'y' instead of 'm'. Otherwise the build emits:
Quoted 6 lines
Quoted 4 lines
.config:5688:warning: symbol value 'm' invalid for
NETFILTER_NETLINKFixes d4349ba9872d ("netfilter: allow nfnetlink built-in only")Signed-off-by Hangbin Liu <[email protected]>Reviewed-by Fernando Fernandez Mancera <[email protected]>
Thanks!
Cheers,
Matt
Signature · 1 line
Sponsored by the NGI0 Core fund.
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · On Thu, 17 Sep 2026 10:17:01 +0800 you wrote:
From: Hangbin Liu <[email protected]>
Since commit
d4349ba9872d("netfilter: allow nfnetlink built-in only"),NETFILTER_NETLINKwas changed to a bool. Use 'y' instead of 'm'. Otherwise the build emits:.config:5688:warning: symbol value 'm' invalid for
NETFILTER_NETLINK[...]
Here is the summary with links:
- [net] selftests: net: update netfilter netlink config
https://git.kernel.org/netdev/net-next/c/c2437bf72a37
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html