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: ebtables: fix a memory leak bug in compatnet/bridge/netfilter/ebtables.c+3 -10 replies
2/8netfilter: nf_tables: Make nft_meta expression more robustnet/bridge/netfilter/nft_meta_bridge.c net/netfilter/nft_meta.c+5 -170 replies
3/8netfilter: nft_meta_bridge: Eliminate 'out' labelnet/bridge/netfilter/nft_meta_bridge.c+1 -30 replies
4/8netfilter: add include guard to xt_connlabel.hinclude/uapi/linux/netfilter/xt_connlabel.h+6 -00 replies
5/8netfilter: ipset: Actually allow destination MAC address for hash:ip,mac sets toonet/netfilter/ipset/ip_set_hash_ipmac.c+0 -40 replies
6/8netfilter: ipset: Copy the right MAC address in bitmap:ip,mac and hash:ip,mac setsnet/netfilter/ipset/ip_set_bitmap_ipmac.c net/netfilter/ipset/ip_set_hash_ipmac.c+2 -20 replies
7/8netfilter: ipset: Fix rename concurrency with listingnet/netfilter/ipset/ip_set_core.c+1 -10 replies
8/8netfilter: ebtables: also count base chain policiesnet/bridge/netfilter/ebtables.c+17 -110 replies

Reviews trailers per patch

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

PatchFlorian Westphal
1/8R-b
2/8
3/8
4/8A-b
5/8
6/8
7/8
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 0/8] netfilter fixes for net

Hi,

The following patchset contains Netfilter fixes for your net tree:

1) memleak in ebtables from the error path for the 32/64 compat layer, from Florian Westphal.

2) Fix inverted meta ifname/ifidx matching when no interface is set on either from the input/output path, from Phil Sutter.

3) Remove goto label in nft_meta_bridge, also from Phil.

4) Missing include guard in xt_connlabel, from Masahiro Yamada.

5) Two patch to fix ipset destination MAC matching coming from Stephano Brivio, via Jozsef Kadlecsik.

6) Fix set rename and listing concurrency problem, from Shijie Luo. Patch also coming via Jozsef Kadlecsik.

7) ebtables 32/64 compat missing base chain policy in rule count, from Florian Westphal.

You can pull these changes from:

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

Thanks!

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

The following changes since commit 0cea0e1148fe134a4a3aaf0b1496f09241fb943a:

net: phy: sfp: hwmon: Fix scaling of RX power (2019-07-21 11:51:50 -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 7cdc4412284777c76c919e2ab33b3b8dbed18559:

Merge branch 'master' of git://blackhole.kfki.hu/nf (2019-07-30 13:39:20 +0200)

----------------------------------------------------------------
Florian Westphal (1):
netfilter: ebtables: also count base chain policies

Jozsef Kadlecsik (1):
netfilter: ipset: Fix rename concurrency with listing

Masahiro Yamada (1):
netfilter: add include guard to xt_connlabel.h

Pablo Neira Ayuso (1):
Merge branch 'master' of git://blackhole.kfki.hu/nf

Phil Sutter (2):
netfilter: nf_tables: Make nft_meta expression more robust
netfilter: nft_meta_bridge: Eliminate 'out' label

Stefano Brivio (2):
netfilter: ipset: Actually allow destination MAC address for hash:ip,mac sets too
netfilter: ipset: Copy the right MAC address in bitmap:ip,mac and hash:ip,mac sets

Wenwen Wang (1):
netfilter: ebtables: fix a memory leak bug in compat

 include/uapi/linux/netfilter/xt_connlabel.h |  6 ++++++
 net/bridge/netfilter/ebtables.c             | 32 ++++++++++++++++++-----------
 net/bridge/netfilter/nft_meta_bridge.c      | 10 ++-------
 net/netfilter/ipset/ip_set_bitmap_ipmac.c   |  2 +-
 net/netfilter/ipset/ip_set_core.c           |  2 +-
 net/netfilter/ipset/ip_set_hash_ipmac.c     |  6 +-----
 net/netfilter/nft_meta.c                    | 16 ++++-----------
 7 files changed, 35 insertions(+), 39 deletions(-)