Skip to content

Netfilter fixes for net

Pablo Neira Ayuso netdev netfilter-devel 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesApplied 8/8

Patches in v1 All 8 applied

#Subject and filesSizeRepliesApplied
1/8netfilter: Remove flowtable relicsnet/ipv4/netfilter/Kconfig net/ipv6/netfilter/Kconfig net/ipv6/netfilter/Makefile +1 more+0 -110 repliesApplied
2/8netfilter: nft_ct: fix use after free when attaching zone templatenet/netfilter/nft_ct.c+4 -10 repliesApplied
3/8selftests: netfilter: reduce zone stress test running timetools/testing/selftests/netfilter/nft_zones_many.sh+6 -60 repliesApplied
4/8selftests: netfilter: check stateless nat udp checksum fixuptools/testing/selftests/netfilter/nft_nat.sh+152 -00 repliesApplied
5/8netfilter: nft_reject_bridge: Fix for missing reply from preroutingnet/bridge/netfilter/nft_reject_bridge.c+4 -40 repliesApplied
6/8netfilter: nft_byteorder: track register operationsnet/netfilter/nft_byteorder.c+12 -00 repliesApplied
7/8selftests: nft_concat_range: add test for reload with no element add/deltools/testing/selftests/netfilter/nft_concat_range.sh+71 -10 repliesApplied
8/8netfilter: nf_tables: remove assignment with no effect in chain blob buildernet/netfilter/nf_tables_api.c+0 -10 repliesApplied

Reviews trailers per patch

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

PatchStefano Brivio
1/8
2/8
3/8
4/8
5/8
6/8
7/8R-b
8/8

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 0/8] Netfilter fixes for net

Hi,

The following patchset contains Netfilter fixes for net:

1) Remove leftovers from flowtable modules, from Geert Uytterhoeven.

2) Missing refcount increment of conntrack template in nft_ct, from Florian Westphal.

3) Reduce nft_zone selftest time, also from Florian.

4) Add selftest to cover stateless NAT on fragments, from Florian Westphal.

5) Do not set net_device when for reject packets from the bridge path, from Phil Sutter.

6) Cancel register tracking info on nft_byteorder operations.

7) Extend nft_concat_range selftest to cover set reload with no elements, from Florian Westphal.

8) Remove useless update of pointer in chain blob builder, reported by kbuild test robot.

Please, pull these changes from:

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

Thanks.

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

The following changes since commit 2f61353cd2f789a4229b6f5c1c24a40a613357bb:

net: hns3: handle empty unknown interrupt for VF (2022-01-25 13:08:05 +0000)

are available in the Git repository at:

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

for you to fetch changes up to b07f413732549e5a96e891411fbb5980f2d8e5a1:

netfilter: nf_tables: remove assignment with no effect in chain blob builder (2022-01-27 17:50:56 +0100)

----------------------------------------------------------------
Florian Westphal (4):
netfilter: nft_ct: fix use after free when attaching zone template
selftests: netfilter: reduce zone stress test running time
selftests: netfilter: check stateless nat udp checksum fixup
selftests: nft_concat_range: add test for reload with no element add/del

Geert Uytterhoeven (1):
netfilter: Remove flowtable relics

Pablo Neira Ayuso (2):
netfilter: nft_byteorder: track register operations
netfilter: nf_tables: remove assignment with no effect in chain blob builder

Phil Sutter (1):
netfilter: nft_reject_bridge: Fix for missing reply from prerouting

 net/bridge/netfilter/nft_reject_bridge.c           |   8 +-
 net/ipv4/netfilter/Kconfig                         |   4 -
 net/ipv6/netfilter/Kconfig                         |   4 -
 net/ipv6/netfilter/Makefile                        |   3 -
 net/ipv6/netfilter/nf_flow_table_ipv6.c            |   0
 net/netfilter/nf_tables_api.c                      |   1 -
 net/netfilter/nft_byteorder.c                      |  12 ++
 net/netfilter/nft_ct.c                             |   5 +-
 .../selftests/netfilter/nft_concat_range.sh        |  72 +++++++++-
 tools/testing/selftests/netfilter/nft_nat.sh       | 152 +++++++++++++++++++++
 .../testing/selftests/netfilter/nft_zones_many.sh  |  12 +-
 11 files changed, 249 insertions(+), 24 deletions(-)
 delete mode 100644 net/ipv6/netfilter/nf_flow_table_ipv6.c