From: Patrick McHardy <kaber@trash.net>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH 0/5] netfilter: nf_tables: set timeout support
Date: Thu, 2 Apr 2015 11:20:02 +0200 [thread overview]
Message-ID: <20150402092001.GA9108@acer.localdomain> (raw)
In-Reply-To: <20150402085200.GA18386@salvia>
On 02.04, Pablo Neira Ayuso wrote:
> On Thu, Mar 26, 2015 at 12:39:35PM +0000, Patrick McHardy wrote:
> > These patches add support for set timeouts. Sets can have a default
> > timeout value that can be overriden by element specific timeouts.
> >
> > Removal of expired elements will usually be performed by a garbage
> > collector for two reasons: avoiding an excessive number of timers
> > and because data deinit has to happen in process context.
> >
> > The first two patches add the required netlink attributes, parsing,
> > dump etc. A set of GC helper functions for batched RCU element
> > destruction is added in patch three, some synchronization helpers
> > to avoid races between async GC and netlink insertion and removal
> > of elements are added in patch four.
> >
> > Following patches will use this infrastrucure to support set updates
> > from the packet classification path for dynamic sets and dynamic
> > flow state maintenance.
> >
> > Please apply, thanks!
>
> Series applied, thanks Patrick.
Thanks, I'll send the next batch soon.
> BTW, what's your plan with the rbtree and timeouts?
No specific plans so far. It would be fairly easy to add them, however
we'll always chose nft_hash unless intervals are used anyway, and in
that case it doesn't make too much sense to have timeouts as long
as we have no real knowledge of intervals within the kernel.
prev parent reply other threads:[~2015-04-02 9:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-26 12:39 [PATCH 0/5] netfilter: nf_tables: set timeout support Patrick McHardy
2015-03-26 12:39 ` [PATCH 1/5] netfilter: nf_tables: add set timeout API support Patrick McHardy
2015-03-26 12:39 ` [PATCH 2/5] netfilter: nf_tables: add set element timeout support Patrick McHardy
2015-03-26 12:39 ` [PATCH 3/5] netfilter: nf_tables: add set garbage collection helpers Patrick McHardy
2015-03-26 12:39 ` [PATCH 4/5] netfilter: nf_tables: add GC synchronization helpers Patrick McHardy
2015-03-26 12:39 ` [PATCH 5/5] netfilter: nft_hash: add support for timeouts Patrick McHardy
2015-04-02 8:52 ` [PATCH 0/5] netfilter: nf_tables: set timeout support Pablo Neira Ayuso
2015-04-02 9:20 ` Patrick McHardy [this message]
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=20150402092001.GA9108@acer.localdomain \
--to=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.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).