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 Latest16 patches 0 repliesApplied 16/16

Patches in v1 All 16 applied

#Subject and filesSizeRepliesApplied
1/16netfilter: nft_exthdr: Support SCTP chunksinclude/uapi/linux/netfilter/nf_tables.h net/netfilter/nft_exthdr.c+53 -00 repliesApplied
2/16netfilter: nft_set_pipapo_avx2: Skip LDMXCSR, we don't need a valid MXCSR statenet/netfilter/nft_set_pipapo_avx2.c+7 -20 repliesApplied
3/16netfilter: add and use nft_set_do_lookup helperinclude/net/netfilter/nf_tables_core.h net/netfilter/nft_lookup.c net/netfilter/nft_objref.c+11 -40 repliesApplied
4/16netfilter: nf_tables: prefer direct calls for set lookupsinclude/net/netfilter/nf_tables_core.h net/netfilter/nft_lookup.c net/netfilter/nft_set_bitmap.c +4 more+71 -150 repliesApplied
5/16netfilter: Remove leading spaces in Kconfignet/netfilter/Kconfig net/netfilter/ipvs/Kconfig+2 -20 repliesApplied
6/16netfilter: x_tables: improve limit_mt scalabilitynet/netfilter/xt_limit.c+26 -200 repliesApplied
7/16netfilter: xt_CT: Remove redundant assignment to retnet/netfilter/xt_CT.c+0 -10 repliesApplied
8/16netfilter: use nfnetlink_unicast()net/netfilter/ipset/ip_set_core.c net/netfilter/nf_conntrack_netlink.c net/netfilter/nfnetlink_acct.c +2 more+44 -1240 repliesApplied
9/16netfilter: x_tables: reduce xt_action_param by 8 byteinclude/linux/netfilter/x_tables.h net/ipv6/netfilter/ip6_tables.c+2 -20 repliesApplied
10/16netfilter: reduce size of nf_hook_state on 32bit platformsinclude/linux/netfilter.h+2 -20 repliesApplied
11/16netfilter: nf_tables: add and use nft_sk helperinclude/net/netfilter/nf_tables.h net/ipv4/netfilter/nft_reject_ipv4.c net/ipv6/netfilter/nft_reject_ipv6.c +1 more+9 -40 repliesApplied
12/16netfilter: nf_tables: add and use nft_thoff helperinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_core.c net/netfilter/nf_tables_trace.c +5 more+23 -180 repliesApplied
13/16netfilter: nf_tables: remove unused arg in nft_set_pktinfo_unspec()include/net/netfilter/nf_tables.h include/net/netfilter/nf_tables_ipv4.h include/net/netfilter/nf_tables_ipv6.h +3 more+43 -520 repliesApplied
14/16netfilter: nf_tables: remove xt_action_param from nft_pktinfoinclude/net/netfilter/nf_tables.h include/net/netfilter/nf_tables_ipv4.h include/net/netfilter/nf_tables_ipv6.h +1 more+43 -340 repliesApplied
15/16netfilter: nft_set_pipapo_avx2: fix up description warningsnet/netfilter/nft_set_pipapo_avx2.c+1 -20 repliesApplied
16/16netfilter: fix clang-12 fmt string warningsnet/netfilter/nf_conntrack_h323_main.c net/netfilter/xt_AUDIT.c+2 -20 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 00/16] Netfilter updates for net-next

Hi,

The following patchset contains Netfilter updates for net-next:

1) Support for SCTP chunks matching on nf_tables, from Phil Sutter.

2) Skip LDMXCSR, we don't need a valid MXCSR state. From Stefano Brivio.

3) CONFIG_RETPOLINE for nf_tables set lookups, from Florian Westphal.

4) A few Kconfig leading spaces removal, from Juerg Haefliger.

5) Remove spinlock from xt_limit, from Jason Baron.

6) Remove useless initialization in xt_CT, oneliner from Yang Li.

7) Tree-wide replacement of netlink_unicast() by nfnetlink_unicast().

8) Reduce footprint of several structures: xt_action_param, nft_pktinfo and nf_hook_state, from Florian.

10) Add nft_thoff() and nft_sk() helpers and use them, also from Florian.

11) Fix documentation in nf_tables pipapo avx2, from Florian Westphal.

12) Fix clang-12 fmt string warnings, also from Florian.

Please, pull these changes from:

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

Thank you!

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

The following changes since commit af9207adb6d9986be6ed64e76705cf513087e724:

Merge tag 'mlx5-updates-2021-05-26' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux (2021-05-27 17:14:23 -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 8a1c08ad19b6ecb7254eca5c7275cb5d6fa1b0cb:

netfilter: fix clang-12 fmt string warnings (2021-06-01 23:53:51 +0200)

----------------------------------------------------------------
Florian Westphal (10):
netfilter: add and use nft_set_do_lookup helper
netfilter: nf_tables: prefer direct calls for set lookups
netfilter: x_tables: reduce xt_action_param by 8 byte
netfilter: reduce size of nf_hook_state on 32bit platforms
netfilter: nf_tables: add and use nft_sk helper
netfilter: nf_tables: add and use nft_thoff helper
netfilter: nf_tables: remove unused arg in nft_set_pktinfo_unspec()
netfilter: nf_tables: remove xt_action_param from nft_pktinfo
netfilter: nft_set_pipapo_avx2: fix up description warnings
netfilter: fix clang-12 fmt string warnings

Jason Baron (1):
netfilter: x_tables: improve limit_mt scalability

Juerg Haefliger (1):
netfilter: Remove leading spaces in Kconfig

Pablo Neira Ayuso (1):
netfilter: use nfnetlink_unicast()

Phil Sutter (1):
netfilter: nft_exthdr: Support SCTP chunks

Stefano Brivio (1):
netfilter: nft_set_pipapo_avx2: Skip LDMXCSR, we don't need a valid MXCSR state

Yang Li (1):
netfilter: xt_CT: Remove redundant assignment to ret

 include/linux/netfilter.h                |  4 +-
 include/linux/netfilter/x_tables.h       |  2 +-
 include/net/netfilter/nf_tables.h        | 34 +++++++++++------
 include/net/netfilter/nf_tables_core.h   | 31 +++++++++++++++
 include/net/netfilter/nf_tables_ipv4.h   | 40 +++++++++-----------
 include/net/netfilter/nf_tables_ipv6.h   | 42 ++++++++++-----------
 include/uapi/linux/netfilter/nf_tables.h |  2 +
 net/ipv4/netfilter/nft_reject_ipv4.c     |  2 +-
 net/ipv6/netfilter/ip6_tables.c          |  2 +-
 net/ipv6/netfilter/nft_reject_ipv6.c     |  2 +-
 net/netfilter/Kconfig                    |  2 +-
 net/netfilter/ipset/ip_set_core.c        | 50 +++++-------------------
 net/netfilter/ipvs/Kconfig               |  2 +-
 net/netfilter/nf_conntrack_h323_main.c   |  2 +-
 net/netfilter/nf_conntrack_netlink.c     | 65 +++++++++-----------------------
 net/netfilter/nf_tables_core.c           |  2 +-
 net/netfilter/nf_tables_trace.c          |  6 +--
 net/netfilter/nfnetlink_acct.c           |  9 ++---
 net/netfilter/nfnetlink_cthelper.c       | 10 ++---
 net/netfilter/nfnetlink_cttimeout.c      | 34 +++++------------
 net/netfilter/nft_chain_filter.c         | 26 ++++++-------
 net/netfilter/nft_chain_nat.c            |  4 +-
 net/netfilter/nft_chain_route.c          |  4 +-
 net/netfilter/nft_compat.c               | 28 +++++++++-----
 net/netfilter/nft_exthdr.c               | 57 ++++++++++++++++++++++++++--
 net/netfilter/nft_flow_offload.c         |  2 +-
 net/netfilter/nft_lookup.c               | 35 ++++++++++++++++-
 net/netfilter/nft_objref.c               |  4 +-
 net/netfilter/nft_payload.c              | 10 ++---
 net/netfilter/nft_reject_inet.c          |  4 +-
 net/netfilter/nft_set_bitmap.c           |  5 ++-
 net/netfilter/nft_set_hash.c             | 17 +++++----
 net/netfilter/nft_set_pipapo.h           |  2 -
 net/netfilter/nft_set_pipapo_avx2.c      | 12 ++++--
 net/netfilter/nft_set_pipapo_avx2.h      |  2 -
 net/netfilter/nft_set_rbtree.c           |  5 ++-
 net/netfilter/nft_synproxy.c             |  4 +-
 net/netfilter/nft_tproxy.c               |  4 +-
 net/netfilter/xt_AUDIT.c                 |  2 +-
 net/netfilter/xt_CT.c                    |  1 -
 net/netfilter/xt_limit.c                 | 46 ++++++++++++----------
 41 files changed, 336 insertions(+), 281 deletions(-)