From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Jozsef Kadlecsik <kadlec@netfilter.org>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH 0/2] ipset patches for nf
Date: Mon, 2 Jan 2023 15:12:13 +0100 [thread overview]
Message-ID: <Y7LmPTOaBLorqtPK@salvia> (raw)
In-Reply-To: <bfd683-b621-9d38-4139-74486f70e834@netfilter.org>
Hi Jozsef,
On Fri, Dec 30, 2022 at 01:42:01PM +0100, Jozsef Kadlecsik wrote:
> On Fri, 30 Dec 2022, Jozsef Kadlecsik wrote:
>
> > Please pull the next patches into your nf tree.
> >
> > - The first patch fixes a hang when 0/0 subnets is added to a
> > hash:net,port,net type of set. Except hash:net,port,net and
> > hash:net,iface, the set types don't support 0/0 and the auxiliary
> > functions rely on this fact. So 0/0 needs a special handling in
> > hash:net,port,net which was missing (hash:net,iface was not affected
> > by this bug).
> > - When adding/deleting large number of elements in one step in ipset,
> > it can take a reasonable amount of time and can result in soft lockup
> > errors. This patch is a complete rework of the previous version in order
> > to use a smaller internal batch limit and at the same time removing
> > the external hard limit to add arbitrary number of elements in one step.
> >
> > Please note, while the second patch removes half of the first patch, the
> > remaining part of the first patch is still important.
>
> In the versions I sent the first patch was collapsed with the part for
> hash:net,port,net from the second patch. So now for proper functionality
> it depends on the second one. If it is not OK, just let me know!
If you think this is the best course of action, then I am fine with this.
Thanks for explaining.
next prev parent reply other threads:[~2023-01-02 14:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-30 12:24 [PATCH 0/2] ipset patches for nf Jozsef Kadlecsik
2022-12-30 12:24 ` [PATCH 1/2] netfilter: ipset: fix hash:net,port,net hang with /0 subnet Jozsef Kadlecsik
2022-12-30 12:24 ` [PATCH 2/2] netfilter: ipset: Rework long task execution when adding/deleting entries Jozsef Kadlecsik
2022-12-30 12:42 ` [PATCH 0/2] ipset patches for nf Jozsef Kadlecsik
2023-01-02 14:12 ` Pablo Neira Ayuso [this message]
2023-01-02 14:13 ` Pablo Neira Ayuso
-- strict thread matches above, loose matches on Subject: below --
2020-02-22 11:30 Jozsef Kadlecsik
2020-02-26 13:02 ` Pablo Neira Ayuso
2017-02-19 18:24 Jozsef Kadlecsik
2017-02-21 13:05 ` Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y7LmPTOaBLorqtPK@salvia \
--to=pablo@netfilter.org \
--cc=kadlec@netfilter.org \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).