Skip to content

Netfilter updates for net-next

Pablo Neira Ayuso netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 6 repliesIn review 4 of 11 applied

Patches in v1 4 of 11 applied

#Subject and filesSizeRepliesApplied
1/11netfilter: Use l3mdev flow key when re-routing mangled packetsnet/ipv4/netfilter.c net/ipv6/netfilter.c+2 -40 repliesApplied
2/11netfilter: nf_conncount: reduce unnecessary GCinclude/net/netfilter/nf_conntrack_count.h net/netfilter/nf_conncount.c+12 -00 repliesApplied
3/11netfilter: conntrack: remove pr_debug callsites from tcp trackernet/netfilter/nf_conntrack_proto_tcp.c+4 -480 repliesApplied
4/11netfilter: ctnetlink: fix up for "netfilter: conntrack: remove unconfirmed list"net/netfilter/nf_conntrack_netlink.c+2 -00 repliesApplied
5/11net/sched: act_ct: set 'net' pointer when creating new nf_flow_tablenet/sched/act_ct.c+3 -20 replies
6/11netfilter: nf_flow_table: count and limit hw offloaded entriesDocumentation/networking/nf_conntrack-sysctl.rst include/net/netfilter/nf_flow_table.h net/netfilter/Makefile +3 more+200 -86 replies
7/11netfilter: nf_flow_table: count pending offload workqueue tasksinclude/net/net_namespace.h include/net/netfilter/nf_flow_table.h include/net/netns/flow_table.h +4 more+179 -50 replies
8/11netfilter: nfnetlink: fix warn in nfnetlink_unbindnet/netfilter/nfnetlink.c+5 -190 replies
9/11netfilter: conntrack: re-fetch conntrack after insertioninclude/net/netfilter/nf_conntrack_core.h+6 -10 replies
10/11netfilter: cttimeout: fix slab-out-of-bounds read in cttimeout_net_exitnet/netfilter/nfnetlink_cttimeout.c+3 -20 replies
11/11netfilter: nf_tables: set element extended ACK reporting supportnet/netfilter/nf_tables_api.c+9 -30 replies

Reviews trailers per patch

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

PatchDavid AhernYifeng Sun
1/11R-b
2/11Co-authored-by
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

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

Hi,

The following patchset contains Netfilter updates for net-next, misc updates and fallout fixes from recent Florian's code rewritting (from last pull request):

1) Use new flowi4_l3mdev field in ip_route_me_harder(), from Martin Willi.

2) Avoid unnecessary GC with a timestamp in conncount, from William Tu and Yifeng Sun.

3) Remove TCP conntrack debugging, from Florian Westphal.

4) Fix compilation warning in ctnetlink, from Florian.

5) Add flowtable entry count and limit hw entries toggles, from Vlad Buslov and Oz Shlomo.

6) Add flowtable in-flight workqueue objects count, also from Vlad and Oz.

7) syzbot warning in nfnetlink bind, from Florian.

8) Refetch conntrack after __nf_conntrack_confirm(), from Florian Westphal.

9) Move struct nf_ct_timeout back at the bottom of the ctnl_time, to where it before recent update, also from Florian.

10) A few NL_SET_BAD_ATTR() for nf_tables netlink set element commands.

Please, pull these changes from:

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

Thanks.

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

The following changes since commit 5cf15ce3c8f1ef431dc9fa845c6d1674f630ecd1:

Merge branch 'Renesas-RSZ-V2M-support' (2022-05-16 10:14:27 +0100)

are available in the Git repository at:

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

for you to fetch changes up to eb6fb4d6ecbcfd69dfc36fbedbafc9860aeef1e4:

netfilter: nf_tables: set element extended ACK reporting support (2022-05-19 22:39:50 +0200)

----------------------------------------------------------------
Florian Westphal (4):
netfilter: conntrack: remove pr_debug callsites from tcp tracker
netfilter: nfnetlink: fix warn in nfnetlink_unbind
netfilter: conntrack: re-fetch conntrack after insertion
netfilter: cttimeout: fix slab-out-of-bounds read in cttimeout_net_exit

Martin Willi (1):
netfilter: Use l3mdev flow key when re-routing mangled packets

Pablo Neira Ayuso (1):
netfilter: nf_tables: set element extended ACK reporting support

Stephen Rothwell (1):
netfilter: ctnetlink: fix up for "netfilter: conntrack: remove unconfirmed list"

Vlad Buslov (3):
net/sched: act_ct: set 'net' pointer when creating new nf_flow_table
netfilter: nf_flow_table: count and limit hw offloaded entries
netfilter: nf_flow_table: count pending offload workqueue tasks

William Tu (1):
netfilter: nf_conncount: reduce unnecessary GC

 Documentation/networking/nf_conntrack-sysctl.rst |   9 ++
 include/net/net_namespace.h                      |   6 +
 include/net/netfilter/nf_conntrack_core.h        |   7 +-
 include/net/netfilter/nf_conntrack_count.h       |   1 +
 include/net/netfilter/nf_flow_table.h            |  57 +++++++++
 include/net/netns/flow_table.h                   |  14 +++
 net/ipv4/netfilter.c                             |   3 +-
 net/ipv6/netfilter.c                             |   3 +-
 net/netfilter/Kconfig                            |   9 ++
 net/netfilter/Makefile                           |   1 +
 net/netfilter/nf_conncount.c                     |  11 ++
 net/netfilter/nf_conntrack_netlink.c             |   2 +
 net/netfilter/nf_conntrack_proto_tcp.c           |  52 +-------
 net/netfilter/nf_flow_table_core.c               |  89 +++++++++++++-
 net/netfilter/nf_flow_table_offload.c            |  55 +++++++--
 net/netfilter/nf_flow_table_sysctl.c             | 148 +++++++++++++++++++++++
 net/netfilter/nf_tables_api.c                    |  12 +-
 net/netfilter/nfnetlink.c                        |  24 +---
 net/netfilter/nfnetlink_cttimeout.c              |   5 +-
 net/sched/act_ct.c                               |   5 +-
 20 files changed, 423 insertions(+), 90 deletions(-)
 create mode 100644 include/net/netns/flow_table.h
 create mode 100644 net/netfilter/nf_flow_table_sysctl.c