netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: pablo@netfilter.org
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH 0/4] netfilter: nf_tables: set transactions
Date: Wed, 25 Mar 2015 14:08:46 +0000	[thread overview]
Message-ID: <1427292530-28529-1-git-send-email-kaber@trash.net> (raw)

These patches add transaction support to set elements. It pretty much
resembles the existing transaction support, the changelogs explain it
in more detail.

As a by-product the patches get rid of the RCU grace period for every
nft_hash element that is destroyed, we now have only the single global
transaction grace perdiod independantly of what we destroy.

Please apply, thanks!


Patrick McHardy (4):
  netfilter: nf_tables: consolide set element destruction
  netfilter: nf_tables: return set extensions from ->lookup()
  netfilter: nf_tables: add transaction helper functions
  netfilter: nf_tables: implement set transaction support

 include/net/netfilter/nf_tables.h | 67 +++++++++++++++++++++++++++----
 net/netfilter/nf_tables_api.c     | 84 +++++++++++++++++++++------------------
 net/netfilter/nf_tables_core.c    |  6 +--
 net/netfilter/nft_hash.c          | 62 ++++++++++++++++-------------
 net/netfilter/nft_lookup.c        |  6 ++-
 net/netfilter/nft_rbtree.c        | 69 +++++++++++++++++++-------------
 6 files changed, 188 insertions(+), 106 deletions(-)

-- 
2.1.0


             reply	other threads:[~2015-03-25 14:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-25 14:08 Patrick McHardy [this message]
2015-03-25 14:08 ` [PATCH 1/4] netfilter: nf_tables: consolide set element destruction Patrick McHardy
2015-03-25 14:08 ` [PATCH 2/4] netfilter: nf_tables: return set extensions from ->lookup() Patrick McHardy
2015-03-25 14:08 ` [PATCH 3/4] netfilter: nf_tables: add transaction helper functions Patrick McHardy
2015-03-25 14:08 ` [PATCH 4/4] netfilter: nf_tables: implement set transaction support Patrick McHardy
2015-03-26 11:09 ` [PATCH 0/4] netfilter: nf_tables: set transactions Pablo Neira Ayuso
2015-03-26 11:07   ` Patrick McHardy
2015-03-26 11:15     ` Pablo Neira Ayuso
2015-03-26 11:14       ` Patrick McHardy

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=1427292530-28529-1-git-send-email-kaber@trash.net \
    --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).