netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ipset patches for nf
@ 2019-11-01 16:35 Jozsef Kadlecsik
  2019-11-01 16:35 ` [PATCH 1/3] netfilter: ipset: Fix an error code in ip_set_sockfn_get() Jozsef Kadlecsik
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Jozsef Kadlecsik @ 2019-11-01 16:35 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Pablo Neira Ayuso

Hi Pablo,

Please pull the next ipset patches for the nf tree:

- Fix the error code in ip_set_sockfn_get() when copy_to_user() is used,
  from Dan Carpenter.
- The IPv6 part was missed when fixing copying the right MAC address
  in the patch "netfilter: ipset: Copy the right MAC address in bitmap:ip,mac
  and hash:ip,mac sets", it is completed now by Stefano Brivio.
- ipset nla_policies are fixed to fully support NL_VALIDATE_STRICT and
  the code is converted from deprecated parsings to verified ones.

Best regards,
Jozsef

The following changes since commit 3da09663209d6732c74cb7b6d5890b8dea9cf6f3:

  Merge branch 'hv_netvsc-fix-error-handling-in-netvsc_attach-set_features' (2019-10-30 18:17:36 -0700)

are available in the Git repository at:

  it://blackhole.kfki.hu/nf e2eaf4585997c8576d

for you to fetch changes up to e2eaf4585997c8576d28b2028d7a937c9c710011:

  netfilter: ipset: Fix nla_policies to fully support NL_VALIDATE_STRICT (2019-11-01 17:13:18 +0100)

----------------------------------------------------------------
Dan Carpenter (1):
      netfilter: ipset: Fix an error code in ip_set_sockfn_get()

Jozsef Kadlecsik (1):
      netfilter: ipset: Fix nla_policies to fully support NL_VALIDATE_STRICT

Stefano Brivio (1):
      netfilter: ipset: Copy the right MAC address in hash:ip,mac IPv6 sets

 net/netfilter/ipset/ip_set_core.c        | 49 +++++++++++++++++++++-----------
 net/netfilter/ipset/ip_set_hash_ipmac.c  |  2 +-
 net/netfilter/ipset/ip_set_hash_net.c    |  1 +
 net/netfilter/ipset/ip_set_hash_netnet.c |  1 +
 4 files changed, 36 insertions(+), 17 deletions(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH 0/3] ipset patches for nf
@ 2015-11-07 12:42 Jozsef Kadlecsik
  2015-11-08 21:42 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 7+ messages in thread
From: Jozsef Kadlecsik @ 2015-11-07 12:42 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Pablo Neira Ayuso

Hi Pablo,

Please apply the next bugfixes against the nf tree.

- Fix extensions alignment in ipset: Gerhard Wiesinger reported
  that the missing data aligments lead to crash on non-intel
  architecture. The patch was tested on armv7h by Gerhard Wiesinger
  and on x86_64 and sparc64 by me.
- An incorrect index at the hash:* types could lead to
  falsely early expired entries and memory leak when the comment
  extension was used too.
- Release empty hash bucket block when all entries are expired or
  all slots are empty instead of shrinkig the data part to zero.

Best regards,
Jozsef

----
The following changes since commit 212cd0895330b775f2db49451f046a5ca4e5704b:

  selinux: fix random read in selinux_ip_postroute_compat() (2015-11-05 16:45:51 -0500)

are available in the git repository at:

  git://blackhole.kfki.hu/nf master

for you to fetch changes up to 0aae24eb409fc429f54ca3809f904f1b91e295e0:

  netfilter: ipset: Fix hash type expire: release empty hash bucket block (2015-11-07 11:28:49 +0100)

----------------------------------------------------------------
Jozsef Kadlecsik (3):
      netfilter: ipset: Fix extension alignment
      netfilter: ipset: Fix hash:* type expiration
      netfilter: ipset: Fix hash type expire: release empty hash bucket block

 include/linux/netfilter/ipset/ip_set.h    |  2 +-
 net/netfilter/ipset/ip_set_bitmap_gen.h   | 17 +++++----------
 net/netfilter/ipset/ip_set_bitmap_ip.c    | 14 ++++--------
 net/netfilter/ipset/ip_set_bitmap_ipmac.c | 64 +++++++++++++++++++++++++-----------------------------
 net/netfilter/ipset/ip_set_bitmap_port.c  | 18 ++++++---------
 net/netfilter/ipset/ip_set_core.c         | 14 +++++++-----
 net/netfilter/ipset/ip_set_hash_gen.h     | 26 ++++++++++++++--------
 net/netfilter/ipset/ip_set_list_set.c     |  5 +++--
 8 files changed, 75 insertions(+), 85 deletions(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-04 19:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-01 16:35 [PATCH 0/3] ipset patches for nf Jozsef Kadlecsik
2019-11-01 16:35 ` [PATCH 1/3] netfilter: ipset: Fix an error code in ip_set_sockfn_get() Jozsef Kadlecsik
2019-11-01 16:35 ` [PATCH 2/3] netfilter: ipset: Copy the right MAC address in hash:ip,mac IPv6 sets Jozsef Kadlecsik
2019-11-01 16:35 ` [PATCH 3/3] netfilter: ipset: Fix nla_policies to fully support NL_VALIDATE_STRICT Jozsef Kadlecsik
2019-11-04 19:15 ` [PATCH 0/3] ipset patches for nf Pablo Neira Ayuso
  -- strict thread matches above, loose matches on Subject: below --
2015-11-07 12:42 Jozsef Kadlecsik
2015-11-08 21:42 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).