Skip to content

Netfilter fixes for net

Pablo Neira Ayuso netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8netfilter: nf_tables: nft_exthdr: the presence return value should be little-endiannet/netfilter/nft_exthdr.c+2 -20 replies
2/8netfilter: nft_compat: remove flush counter optimizationnet/netfilter/nft_compat.c+14 -230 replies
3/8netfilter: avoid ipv6 -> nf_defrag_ipv6 module dependencyinclude/linux/netfilter_ipv6.h net/bridge/netfilter/nf_conntrack_bridge.c net/ipv6/netfilter.c+6 -230 replies
4/8netfilter: nf_tables: free chain context when BINDING flag is missingnet/netfilter/nf_tables_api.c+4 -20 replies
5/8selftests: netfilter: add checktool functiontools/testing/selftests/netfilter/nft_flowtable.sh+11 -220 replies
6/8selftests: netfilter: add MTU arguments to flowtablestools/testing/selftests/netfilter/nft_flowtable.sh+24 -60 replies
7/8selftests: netfilter: kill running process onlytools/testing/selftests/netfilter/nft_flowtable.sh+8 -20 replies
8/8netfilter: ebtables: reject bogus getopt len valuenet/bridge/netfilter/ebtables.c+4 -00 replies

Reviews trailers per patch

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

PatchChristoph Hellwig
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8R-b

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

Hi,

The following patchset contains Netfilter fixes for net:

1) Endianness issue in IPv4 option support in nft_exthdr, from Stephen Suryaputra.

2) Removes the waitcount optimization in nft_compat, from Florian Westphal.

3) Remove ipv6 -> nf_defrag_ipv6 module dependency, from Florian Westphal.

4) Memleak in chain binding support, also from Florian.

5) Simplify nft_flowtable.sh selftest, from Fabian Frederick.

6) Optional MTU arguments for selftest nft_flowtable.sh, also from Fabian.

7) Remove noise error report when killing process in selftest nft_flowtable.sh, from Fabian Frederick.

8) Reject bogus getsockopt option length in ebtables, from Florian Westphal.

Please, pull these changes from:

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

Thank you.

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

The following changes since commit 7c7ab580db49cc7befe5f4b91bb1920cd6b07575:

net: Convert to use the fallthrough macro (2020-08-08 14:29:09 -0700)

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 5c04da55c754c44937b3d19c6522f9023fd5c5d5:

netfilter: ebtables: reject bogus getopt len value (2020-08-14 11:59:08 +0200)

----------------------------------------------------------------
Fabian Frederick (3):
selftests: netfilter: add checktool function
selftests: netfilter: add MTU arguments to flowtables
selftests: netfilter: kill running process only

Florian Westphal (4):
netfilter: nft_compat: remove flush counter optimization
netfilter: avoid ipv6 -> nf_defrag_ipv6 module dependency
netfilter: nf_tables: free chain context when BINDING flag is missing
netfilter: ebtables: reject bogus getopt len value

Stephen Suryaputra (1):
netfilter: nf_tables: nft_exthdr: the presence return value should be little-endian

 include/linux/netfilter_ipv6.h                     | 18 ------
 net/bridge/netfilter/ebtables.c                    |  4 ++
 net/bridge/netfilter/nf_conntrack_bridge.c         |  8 ++-
 net/ipv6/netfilter.c                               |  3 -
 net/netfilter/nf_tables_api.c                      |  6 +-
 net/netfilter/nft_compat.c                         | 37 +++++------
 net/netfilter/nft_exthdr.c                         |  4 +-
 tools/testing/selftests/netfilter/nft_flowtable.sh | 73 +++++++++++++---------
 8 files changed, 73 insertions(+), 80 deletions(-)