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 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5netfilter: ipset: prevent uninit-value in hash_ip6_addnet/netfilter/ipset/ip_set_core.c+1 -20 replies
2/5netfilter: nf_tables: avoid false-postive lockdep splatnet/netfilter/nf_tables_api.c+2 -10 replies
3/5ipvs: fix possible memory leak in ip_vs_control_net_initnet/netfilter/ipvs/ip_vs_ctl.c+25 -60 replies
4/5netfilter: nftables_offload: set address type in control dissectorinclude/net/netfilter/nf_tables_offload.h net/netfilter/nf_tables_offload.c net/netfilter/nft_payload.c+25 -00 replies
5/5netfilter: nftables_offload: build mask based from the matching bytesinclude/net/netfilter/nf_tables_offload.h net/netfilter/nft_cmp.c net/netfilter/nft_meta.c +1 more+64 -290 replies

Reviews trailers per patch

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

PatchJulian AnastasovJozsef Kadlecsik
1/5A-b
2/5
3/5A-b
4/5
5/5

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

Hi,

The following patchset contains Netfilter fixes for net:

1) Fix insufficient validation of IPSET_ATTR_IPADDR_IPV6 reported by syzbot.

2) Remove spurious reports on nf_tables when lockdep gets disabled, from Florian Westphal.

3) Fix memleak in the error path of error path of
ip_vs_control_net_init(), from Wang Hai.

4) Fix missing control data in flow dissector, otherwise IP address matching in hardware offload infra does not work.

5) Fix hardware offload match on prefix IP address when userspace does not send a bitwise expression to represent the prefix.

Please, pull these changes from:

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

Thanks Jakub.

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

The following changes since commit 90cf87d16bd566cff40c2bc8e32e6d4cd3af23f0:

enetc: Let the hardware auto-advance the taprio base-time of 0 (2020-11-25 12:36:27 -0800)

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 a5d45bc0dc50f9dd83703510e9804d813a9cac32:

netfilter: nftables_offload: build mask based from the matching bytes (2020-11-27 12:10:47 +0100)

----------------------------------------------------------------
Eric Dumazet (1):
netfilter: ipset: prevent uninit-value in hash_ip6_add

Florian Westphal (1):
netfilter: nf_tables: avoid false-postive lockdep splat

Pablo Neira Ayuso (2):
netfilter: nftables_offload: set address type in control dissector
netfilter: nftables_offload: build mask based from the matching bytes

Wang Hai (1):
ipvs: fix possible memory leak in ip_vs_control_net_init

 include/net/netfilter/nf_tables_offload.h |  7 ++++
 net/netfilter/ipset/ip_set_core.c         |  3 +-
 net/netfilter/ipvs/ip_vs_ctl.c            | 31 +++++++++++---
 net/netfilter/nf_tables_api.c             |  3 +-
 net/netfilter/nf_tables_offload.c         | 17 ++++++++
 net/netfilter/nft_cmp.c                   |  8 ++--
 net/netfilter/nft_meta.c                  | 16 +++----
 net/netfilter/nft_payload.c               | 70 +++++++++++++++++++++++--------
 8 files changed, 117 insertions(+), 38 deletions(-)