netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v3 0/4] fix NULL dereference trigger by SRv6 with netfilter
@ 2024-06-13  9:42 wujianguo106
  2024-06-13  9:42 ` [PATCH net v3 1/4] seg6: fix parameter passing when calling NF_HOOK() in End.DX4 and End.DX6 behaviors wujianguo106
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: wujianguo106 @ 2024-06-13  9:42 UTC (permalink / raw)
  To: netdev
  Cc: kuba, edumazet, contact, pablo, dsahern, pabeni, wujianguo106,
	Jianguo Wu

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

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-06-18 15:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-13  9:42 [PATCH net v3 0/4] fix NULL dereference trigger by SRv6 with netfilter wujianguo106
2024-06-13  9:42 ` [PATCH net v3 1/4] seg6: fix parameter passing when calling NF_HOOK() in End.DX4 and End.DX6 behaviors wujianguo106
2024-06-13  9:42 ` [PATCH net v3 2/4] netfilter: move the sysctl nf_hooks_lwtunnel into the netfilter core wujianguo106
2024-06-13  9:42 ` [PATCH net v3 3/4] selftests: add selftest for the SRv6 End.DX4 behavior with netfilter wujianguo106
2024-06-13  9:42 ` [PATCH net v3 4/4] selftests: add selftest for the SRv6 End.DX6 " wujianguo106
2024-06-18 15:17 ` [PATCH net v3 0/4] fix NULL dereference trigger by SRv6 " Jakub Kicinski
2024-06-18 15:27   ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).