Netfilter updates for net-next
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
Patches in v1 All 14 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | netfilter: flowtable: add vlan match offload supportinclude/ net/ | +39 | 0 replies | Applied |
| 2/14 | netfilter: flowtable: add vlan pop action offload supportnet/ | +15 | 0 replies | Applied |
| 3/14 | netfilter: conntrack: move autoassign warning member to net_generic datainclude/ net/ | +10 | 0 replies | Applied |
| 4/14 | netfilter: conntrack: move autoassign_helper sysctl to net_generic datainclude/ net/ net/ | +8 | 0 replies | Applied |
| 5/14 | netfilter: conntrack: move expect counter to net_generic datainclude/ net/ net/ | +22 | 0 replies | Applied |
| 6/14 | netfilter: conntrack: move ct counter to net_generic datainclude/ net/ net/ +1 more | +47 | 0 replies | Applied |
| 7/14 | netfilter: conntrack: convert sysctls to u8include/ net/ net/ | +45 | 0 replies | Applied |
| 8/14 | netfilter: flowtable: Add FLOW_OFFLOAD_XMIT_UNSPEC xmit typeinclude/ net/ | +5 | 0 replies | Applied |
| 9/14 | netfilter: nft_payload: fix C-VLAN offload supportinclude/ net/ | +4 | 0 replies | Applied |
| 10/14 | netfilter: nftables_offload: VLAN id needs host byteorder in flow dissectorinclude/ net/ net/ | +55 | 0 replies | Applied |
| 11/14 | netfilter: nftables_offload: special ethertype handling for VLANnet/ | +44 | 0 replies | Applied |
| 12/14 | netfilter: Dissect flow after packet manglingnet/ net/ | +4 | 0 replies | Applied |
| 13/14 | selftests: fib_tests: Add test cases for interaction with manglingtools/ | +151 | 0 replies | Applied |
| 14/14 | netfilter: nftables: counter hardware offload supportinclude/ include/ net/ +2 more | +72 | 0 replies | Applied |
Reviews trailers per patch
1 of 14 patches has a Reviewed-by or Acked-by.
| Patch | David 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/14 | R-b |
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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(-)