Skip to content

netfilter updates for net-next

Florian Westphal linux-hardening netdev netfilter-devel 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesApplied 10/10

Patches in v1 All 10 applied

#Subject and filesSizeRepliesApplied
1/10netfilter: ebtables: fix fortify warnings in size_entry_mwt()include/uapi/linux/netfilter_bridge/ebtables.h net/bridge/netfilter/ebtables.c+9 -80 repliesApplied
2/10netfilter: ebtables: replace zero-length array membersinclude/uapi/linux/netfilter_bridge/ebtables.h+4 -40 repliesApplied
3/10netfilter: ipset: refactor deprecated strncpynet/netfilter/ipset/ip_set_core.c+5 -50 repliesApplied
4/10netfilter: nf_tables: refactor deprecated strncpynet/netfilter/nft_ct.c+1 -10 repliesApplied
5/10netfilter: nf_tables: refactor deprecated strncpynet/netfilter/nft_fib.c+1 -10 repliesApplied
6/10netfilter: nft_osf: refactor deprecated strncpynet/netfilter/nft_osf.c+3 -30 repliesApplied
7/10netfilter: nft_meta: refactor deprecated strncpynet/netfilter/nft_meta.c+3 -30 repliesApplied
8/10netfilter: x_tables: refactor deprecated strncpynet/netfilter/x_tables.c+2 -30 repliesApplied
9/10netfilter: xtables: refactor deprecated strncpynet/netfilter/xt_repldata.h+1 -10 repliesApplied
10/10netfilter: nf_tables: allow loop termination for pending fatal signalnet/netfilter/nf_tables_api.c+6 -00 repliesApplied

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchGustavo A. R. SilvaKees Cook
1/10R-b R-b
2/10R-b
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

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/10] netfilter updates for net-next

Hello,

This batch contains a few updates for your *net-next* tree. First patch resolves a fortify warning by wrapping the to-be-copied members via struct_group.

Second patch replaces array[0] with array[] in ebtables uapi. Both changes from GONG Ruiqi.

The largest chunk is replacement of strncpy with strscpy_pad() in netfilter, from Justin Stitt.

Last patch, from myself, aborts ruleset validation if a fatal signal is pending, this speeds up process exit.

The following changes since commit 43c2817225fce05701f062a996255007481935e2:

net: remove unnecessary input parameter 'how' in ifdown function (2023-08-22 13:19:02 +0200)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git tags/nf-next-23-08-22

for you to fetch changes up to 169384fbe8513185499bcbb817d198e6a63eb37e:

netfilter: nf_tables: allow loop termination for pending fatal signal (2023-08-22 15:14:32 +0200)

----------------------------------------------------------------
nf-next pull request 2023-08-22

----------------------------------------------------------------
Florian Westphal (1):
netfilter: nf_tables: allow loop termination for pending fatal signal

GONG, Ruiqi (2):
netfilter: ebtables: fix fortify warnings in size_entry_mwt()
netfilter: ebtables: replace zero-length array members

Justin Stitt (7):
netfilter: ipset: refactor deprecated strncpy
netfilter: nf_tables: refactor deprecated strncpy
netfilter: nf_tables: refactor deprecated strncpy
netfilter: nft_osf: refactor deprecated strncpy
netfilter: nft_meta: refactor deprecated strncpy
netfilter: x_tables: refactor deprecated strncpy
netfilter: xtables: refactor deprecated strncpy

 include/uapi/linux/netfilter_bridge/ebtables.h | 22 ++++++++++++----------
 net/bridge/netfilter/ebtables.c                |  3 +--
 net/netfilter/ipset/ip_set_core.c              | 10 +++++-----
 net/netfilter/nf_tables_api.c                  |  6 ++++++
 net/netfilter/nft_ct.c                         |  2 +-
 net/netfilter/nft_fib.c                        |  2 +-
 net/netfilter/nft_meta.c                       |  6 +++---
 net/netfilter/nft_osf.c                        |  6 +++---
 net/netfilter/x_tables.c                       |  5 ++---
 net/netfilter/xt_repldata.h                    |  2 +-
 10 files changed, 35 insertions(+), 29 deletions(-)