netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] netfilter: nf_tables: set transactions
@ 2015-03-25 14:08 Patrick McHardy
  2015-03-25 14:08 ` [PATCH 1/4] netfilter: nf_tables: consolide set element destruction Patrick McHardy
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Patrick McHardy @ 2015-03-25 14:08 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel

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


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

end of thread, other threads:[~2015-03-26 11:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-25 14:08 [PATCH 0/4] netfilter: nf_tables: set transactions Patrick McHardy
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

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).