Skip to content

netfilter patches for net

Florian Westphal netdev netfilter-devel 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6netfilter: nft_payload: rebuild vlan header on h_proto accessnet/netfilter/nft_payload.c+12 -10 repliesApplied
2/6netfilter: handle the connecting collision properly in nf_conntrack_proto_sctpinclude/linux/netfilter/nf_conntrack_sctp.h net/netfilter/nf_conntrack_proto_sctp.c+34 -100 repliesApplied
3/6selftests: netfilter: test for sctp collision processing in nf_conntracktools/testing/selftests/netfilter/Makefile tools/testing/selftests/netfilter/conntrack_sctp_collision.sh tools/testing/selftests/netfilter/sctp_collision.c+191 -20 repliesApplied
4/6selftests: netfilter: Extend nft_audit.shtools/testing/selftests/netfilter/nft_audit.sh+81 -160 repliesApplied
5/6netfilter: nf_tables: Deduplicate nft_register_obj audit logsnet/netfilter/nf_tables_api.c tools/testing/selftests/netfilter/nft_audit.sh+48 -160 repliesApplied
6/6netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failurenet/netfilter/nft_set_rbtree.c+29 -170 repliesApplied

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchRichard Guy BriggsPaul Moore
1/6
2/6
3/6
4/6
5/6R-b A-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/6] netfilter patches for net

Hello,

The following batch contains netfilter fixes and selftests for the *net* tree.

First patch resolves a regression with vlan header matching, this was broken since 6.5 release. From myself.

Second patch fixes an ancient problem with sctp connection tracking in case INIT_ACK packets are delayed. This comes with a selftest, both patches from Xin Long.

Patch 4 extends the existing nftables audit selftest, from Phil Sutter.

Patch 5, also from Phil, avoids a situation where nftables would emit an audit record twice. This was broken since 5.13 days.

Patch 6, from myself, avoids spurious insertion failure if we encounter an overlapping but expired range during element insertion with the 'nft_set_rbtree' backend. This problem exists since 6.2.

The following changes since commit 51e7a66666e0ca9642c59464ef8359f0ac604d41:

ibmveth: Remove condition to recompute TCP header checksum. (2023-10-04 11:19:57 +0100)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git tags/nf-23-10-04

for you to fetch changes up to 087388278e0f301f4c61ddffb1911d3a180f84b8:

netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failure (2023-10-04 15:57:28 +0200)

----------------------------------------------------------------
netfilter pull request 2023-10-04

----------------------------------------------------------------
Florian Westphal (2):
netfilter: nft_payload: rebuild vlan header on h_proto access
netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failure

Phil Sutter (2):
selftests: netfilter: Extend nft_audit.sh
netfilter: nf_tables: Deduplicate nft_register_obj audit logs

Xin Long (2):
netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp
selftests: netfilter: test for sctp collision processing in nf_conntrack

 include/linux/netfilter/nf_conntrack_sctp.h        |   1 +
 net/netfilter/nf_conntrack_proto_sctp.c            |  43 ++++++--
 net/netfilter/nf_tables_api.c                      |  44 +++++---
 net/netfilter/nft_payload.c                        |  13 ++-
 net/netfilter/nft_set_rbtree.c                     |  46 +++++---
 tools/testing/selftests/netfilter/Makefile         |   5 +-
 .../netfilter/conntrack_sctp_collision.sh          |  89 ++++++++++++++++
 tools/testing/selftests/netfilter/nft_audit.sh     | 117 ++++++++++++++++++---
 tools/testing/selftests/netfilter/sctp_collision.c |  99 +++++++++++++++++
 9 files changed, 395 insertions(+), 62 deletions(-)
 create mode 100755 tools/testing/selftests/netfilter/conntrack_sctp_collision.sh
 create mode 100644 tools/testing/selftests/netfilter/sctp_collision.c