Message ID | 20240613094249.32658-1-wujianguo106@163.com (mailing list archive) |
---|---|
Headers | show |
Series | fix NULL dereference trigger by SRv6 with netfilter | expand |
On Thu, 13 Jun 2024 17:42:45 +0800 wujianguo106@163.com wrote: > v3: > - move the sysctl nf_hooks_lwtunnel into the netfilter core. > - add CONFIG_IP_NF_MATCH_RPFILTER/CONFIG_IP6_NF_MATCH_RPFILTER > into selftest net/config. > - set selftrest scripts file mode to 755. > > v2: > - fix commit log. > - add two selftests. > > Jianguo Wu (4): > seg6: fix parameter passing when calling NF_HOOK() in End.DX4 and > End.DX6 behaviors > netfilter: move the sysctl nf_hooks_lwtunnel into the netfilter core > selftests: add selftest for the SRv6 End.DX4 behavior with netfilter > selftests: add selftest for the SRv6 End.DX6 behavior with netfilter Hi Pablo! FWIW this gained a "Not Applicable" designation in our patchwork, I presume from DaveM. So we're expecting you to take it via netfilter.
On Tue, Jun 18, 2024 at 08:17:11AM -0700, Jakub Kicinski wrote: > On Thu, 13 Jun 2024 17:42:45 +0800 wujianguo106@163.com wrote: > > v3: > > - move the sysctl nf_hooks_lwtunnel into the netfilter core. > > - add CONFIG_IP_NF_MATCH_RPFILTER/CONFIG_IP6_NF_MATCH_RPFILTER > > into selftest net/config. > > - set selftrest scripts file mode to 755. > > > > v2: > > - fix commit log. > > - add two selftests. > > > > Jianguo Wu (4): > > seg6: fix parameter passing when calling NF_HOOK() in End.DX4 and > > End.DX6 behaviors > > netfilter: move the sysctl nf_hooks_lwtunnel into the netfilter core > > selftests: add selftest for the SRv6 End.DX4 behavior with netfilter > > selftests: add selftest for the SRv6 End.DX6 behavior with netfilter > > Hi Pablo! > > FWIW this gained a "Not Applicable" designation in our patchwork, > I presume from DaveM. So we're expecting you to take it via netfilter. OK, I will pick up. Thanks for the notice.
From: Jianguo Wu <wujianguo@chinatelecom.cn> v3: - move the sysctl nf_hooks_lwtunnel into the netfilter core. - add CONFIG_IP_NF_MATCH_RPFILTER/CONFIG_IP6_NF_MATCH_RPFILTER into selftest net/config. - set selftrest scripts file mode to 755. v2: - fix commit log. - add two selftests. Jianguo Wu (4): seg6: fix parameter passing when calling NF_HOOK() in End.DX4 and End.DX6 behaviors netfilter: move the sysctl nf_hooks_lwtunnel into the netfilter core selftests: add selftest for the SRv6 End.DX4 behavior with netfilter selftests: add selftest for the SRv6 End.DX6 behavior with netfilter include/net/netns/netfilter.h | 3 + net/ipv6/seg6_local.c | 8 +- net/netfilter/core.c | 13 +- net/netfilter/nf_conntrack_standalone.c | 15 - net/netfilter/nf_hooks_lwtunnel.c | 68 ++++ net/netfilter/nf_internals.h | 6 + tools/testing/selftests/net/Makefile | 2 + tools/testing/selftests/net/config | 2 + .../net/srv6_end_dx4_netfilter_test.sh | 335 +++++++++++++++++ .../net/srv6_end_dx6_netfilter_test.sh | 340 ++++++++++++++++++ 10 files changed, 771 insertions(+), 21 deletions(-) create mode 100755 tools/testing/selftests/net/srv6_end_dx4_netfilter_test.sh create mode 100755 tools/testing/selftests/net/srv6_end_dx6_netfilter_test.sh