Skip to content

Netfilter updates for net-next

Pablo Neira Ayuso netdev netfilter-devel 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 0 repliesApplied 14/14

Patches in v1 All 14 applied

#Subject and filesSizeRepliesApplied
1/14netfilter: flowtable: add vlan match offload supportinclude/net/netfilter/nf_flow_table.h net/netfilter/nf_flow_table_offload.c+39 -00 repliesApplied
2/14netfilter: flowtable: add vlan pop action offload supportnet/netfilter/nf_flow_table_offload.c+15 -00 repliesApplied
3/14netfilter: conntrack: move autoassign warning member to net_generic datainclude/net/netfilter/nf_conntrack.h net/netfilter/nf_conntrack_helper.c+10 -30 repliesApplied
4/14netfilter: conntrack: move autoassign_helper sysctl to net_generic datainclude/net/netfilter/nf_conntrack.h net/netfilter/nf_conntrack_helper.c net/netfilter/nf_conntrack_standalone.c+8 -60 repliesApplied
5/14netfilter: conntrack: move expect counter to net_generic datainclude/net/netfilter/nf_conntrack.h net/netfilter/nf_conntrack_core.c net/netfilter/nf_conntrack_expect.c+22 -70 repliesApplied
6/14netfilter: conntrack: move ct counter to net_generic datainclude/net/netfilter/nf_conntrack.h net/netfilter/nf_conntrack_core.c net/netfilter/nf_conntrack_netlink.c +1 more+47 -170 repliesApplied
7/14netfilter: conntrack: convert sysctls to u8include/net/netns/conntrack.h net/netfilter/nf_conntrack_proto_tcp.c net/netfilter/nf_conntrack_standalone.c+45 -540 repliesApplied
8/14netfilter: flowtable: Add FLOW_OFFLOAD_XMIT_UNSPEC xmit typeinclude/net/netfilter/nf_flow_table.h net/netfilter/nf_flow_table_core.c+5 -10 repliesApplied
9/14netfilter: nft_payload: fix C-VLAN offload supportinclude/net/netfilter/nf_tables_offload.h net/netfilter/nft_payload.c+4 -20 repliesApplied
10/14netfilter: nftables_offload: VLAN id needs host byteorder in flow dissectorinclude/net/netfilter/nf_tables_offload.h net/netfilter/nft_cmp.c net/netfilter/nft_payload.c+55 -70 repliesApplied
11/14netfilter: nftables_offload: special ethertype handling for VLANnet/netfilter/nf_tables_offload.c+44 -00 repliesApplied
12/14netfilter: Dissect flow after packet manglingnet/ipv4/netfilter.c net/ipv6/netfilter.c+4 -00 repliesApplied
13/14selftests: fib_tests: Add test cases for interaction with manglingtools/testing/selftests/net/fib_tests.sh+151 -10 repliesApplied
14/14netfilter: nftables: counter hardware offload supportinclude/net/netfilter/nf_tables.h include/net/netfilter/nf_tables_offload.h net/netfilter/nf_tables_api.c +2 more+72 -70 repliesApplied

Reviews trailers per patch

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

PatchDavid Ahern
1/14
2/14
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14R-b
14/14

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-next 00/14] Netfilter updates for net-next

Hi,

The following patchset contains Netfilter updates for net-next:

1) Add vlan match and pop actions to the flowtable offload, patches from wenxu.

2) Reduce size of the netns_ct structure, which itself is embedded in struct net Make netns_ct a read-mostly structure. Patches from Florian Westphal.

3) Add FLOW_OFFLOAD_XMIT_UNSPEC to skip dst check from garbage collector path, as required by the tc CT action. From Roi Dayan.

4) VLAN offload fixes for nftables: Allow for matching on both s-vlan and c-vlan selectors. Fix match of VLAN id due to incorrect byteorder. Add a new routine to properly populate flow dissector ethertypes.

5) Missing keys in ip{6}_route_me_harder() results in incorrect routes. This includes an update for selftest infra. Patches from Ido Schimmel.

6) Add counter hardware offload support through FLOW_CLS_STATS.

Please, pull these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git

Thanks!

----------------------------------------------------------------

The following changes since commit 8ef7adc6beb2ef0bce83513dc9e4505e7b21e8c2:

net: ethernet: ravb: Enable optional refclk (2021-04-12 14:09:59 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git HEAD

for you to fetch changes up to b72920f6e4a9d6607b723d69b7f412c829769c75:

netfilter: nftables: counter hardware offload support (2021-04-18 22:04:49 +0200)

----------------------------------------------------------------
Florian Westphal (5):
netfilter: conntrack: move autoassign warning member to net_generic data
netfilter: conntrack: move autoassign_helper sysctl to net_generic data
netfilter: conntrack: move expect counter to net_generic data
netfilter: conntrack: move ct counter to net_generic data
netfilter: conntrack: convert sysctls to u8

Ido Schimmel (2):
netfilter: Dissect flow after packet mangling
selftests: fib_tests: Add test cases for interaction with mangling

Pablo Neira Ayuso (4):
netfilter: nft_payload: fix C-VLAN offload support
netfilter: nftables_offload: VLAN id needs host byteorder in flow dissector
netfilter: nftables_offload: special ethertype handling for VLAN
netfilter: nftables: counter hardware offload support

Roi Dayan (1):
netfilter: flowtable: Add FLOW_OFFLOAD_XMIT_UNSPEC xmit type

wenxu (2):
netfilter: flowtable: add vlan match offload support
netfilter: flowtable: add vlan pop action offload support

 include/net/netfilter/nf_conntrack.h      |   8 ++
 include/net/netfilter/nf_flow_table.h     |   5 +-
 include/net/netfilter/nf_tables.h         |   2 +
 include/net/netfilter/nf_tables_offload.h |  13 ++-
 include/net/netns/conntrack.h             |  23 ++---
 net/ipv4/netfilter.c                      |   2 +
 net/ipv6/netfilter.c                      |   2 +
 net/netfilter/nf_conntrack_core.c         |  46 ++++++---
 net/netfilter/nf_conntrack_expect.c       |  22 +++--
 net/netfilter/nf_conntrack_helper.c       |  15 ++-
 net/netfilter/nf_conntrack_netlink.c      |   5 +-
 net/netfilter/nf_conntrack_proto_tcp.c    |  34 +++----
 net/netfilter/nf_conntrack_standalone.c   |  66 +++++++------
 net/netfilter/nf_flow_table_core.c        |   3 +
 net/netfilter/nf_flow_table_offload.c     |  52 ++++++++++
 net/netfilter/nf_tables_api.c             |   3 +
 net/netfilter/nf_tables_offload.c         |  88 +++++++++++++++--
 net/netfilter/nft_cmp.c                   |  41 +++++++-
 net/netfilter/nft_counter.c               |  29 ++++++
 net/netfilter/nft_payload.c               |  13 ++-
 tools/testing/selftests/net/fib_tests.sh  | 152 +++++++++++++++++++++++++++++-
 21 files changed, 520 insertions(+), 104 deletions(-)