Netfilter/IPVS updates for net-next
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest38 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/38 | netfilter: remove double colonnet/ | +1 | 0 replies | |
| 2/38 | netfilter: xt_ipcomp: Use ntohs to ease sparse warningnet/ | +1 | 0 replies | |
| 3/38 | netfilter: nft_ct: labels get supportinclude/ include/ net/ +1 more | +30 | 0 replies | |
| 4/38 | netfilter: ip_set: rename nfnl_dereference()/nfnl_set()net/ | +23 | 0 replies | |
| 5/38 | netfilter: nfnetlink: add rcu_dereference_protected() helpersinclude/ net/ | +29 | 0 replies | |
| 6/38 | netfilter: nf_tables: add nft_dereference() macroinclude/ net/ | +5 | 0 replies | |
| 7/38 | netfilter: nf_tables: accept QUEUE/DROP verdict parametersnet/ | +10 | 0 replies | |
| 8/38 | netfilter: nfnetlink_log: remove unused codenet/ | +0 | 0 replies | |
| 9/38 | netfilter: nf_tables: add optional user data area to rulesinclude/ include/ net/ | +28 | 0 replies | |
| 10/38 | netfilter: ipset: Follow manual page behavior for SET target on list:setnet/ | +2 | 0 replies | |
| 11/38 | netfilter: ipset: Add hash: fix coccinelle warningsnet/ | +4 | 0 replies | |
| 12/38 | netfilter: ipset: add hash:ip,mark data type to ipsetinclude/ include/ net/ +2 more | +329 | 0 replies | |
| 13/38 | netfilter: ipset: add markmask for hash:ip,mark data typeinclude/ net/ net/ | +42 | 0 replies | |
| 14/38 | netfilter: ipset: Prepare the kernel for create option flags when no extension is neededinclude/ include/ | +8 | 0 replies | |
| 15/38 | netfilter: ipset: kernel: uapi: fix MARKMASK attr ABI breakageinclude/ | +2 | 0 replies | |
| 16/38 | netfilter: ipset: move registration message to init from net_initnet/ | +1 | 0 replies | |
| 17/38 | netfilter: ipset: add forceadd kernel support for hash set typesinclude/ include/ net/ +11 more | +40 | 0 replies | |
| 18/38 | sections, ipvs: Remove useless __read_mostly for ipvs genl_opsnet/ | +1 | 0 replies | |
| 19/38 | ipvs: Reduce checkpatch noise in ip_vs_lblc.cnet/ | +6 | 0 replies | |
| 20/38 | netfilter: trivial code cleanup and doc changesinclude/ net/ net/ | +18 | 0 replies | |
| 21/38 | netfilter: conntrack: spinlock per cpu to protect special lists.include/ include/ net/ +2 more | +168 | 0 replies | |
| 22/38 | netfilter: avoid race with exp->master ctnet/ net/ | +15 | 0 replies | |
| 23/38 | netfilter: conntrack: seperate expect locking from nf_conntrack_lockinclude/ net/ net/ +4 more | +79 | 0 replies | |
| 24/38 | netfilter: conntrack: remove central spinlock nf_conntrack_lockinclude/ include/ net/ +2 more | +188 | 0 replies | |
| 25/38 | netfilter: nft_hash: bug fixes and resizingnet/ | +214 | 0 replies | |
| 26/38 | netfilter: nf_tables: clean up nf_tables_trans_add() argument ordernet/ | +4 | 0 replies | |
| 27/38 | netfilter: nf_tables: restore context for expression destructorsinclude/ net/ net/ +4 more | +31 | 0 replies | |
| 28/38 | netfilter: nf_tables: restore notifications for anonymous set destructionnet/ net/ | +2 | 0 replies | |
| 29/38 | netfilter: nft_ct: remove family from struct nft_ctnet/ | +2 | 0 replies | |
| 30/38 | netfilter: nft_nat: fix family validationnet/ | +10 | 0 replies | |
| 31/38 | netfilter: connlimit: factor hlist search into new functionnet/ | +33 | 0 replies | |
| 32/38 | netfilter: connlimit: improve packet-to-closed-connection logicnet/ | +8 | 0 replies | |
| 33/38 | netfilter: connlimit: move insertion of new element out of count functionnet/ | +23 | 0 replies | |
| 34/38 | netfilter: connlimit: use kmem_cache for conn objectsnet/ | +19 | 0 replies | |
| 35/38 | netfilter: Convert uses of __constant_<foo> to <foo>net/ net/ | +4 | 0 replies | |
| 36/38 | netfilter: connlimit: use keyed locksnet/ | +18 | 7 replies | |
| 37/38 | netfilter: connlimit: make same_source_net signednet/ | +5 | 0 replies | |
| 38/38 | netfilter: connlimit: use rbtree for per-host conntrack obj storagenet/ | +177 | 0 replies |
Reviews trailers per patch
15 of 38 patches have a Reviewed-by or Acked-by.
| Patch | Patrick McHardy | Florian Westphal | Josh Triplett | Paul E. McKenney | Jesper Dangaard Brouer | Jozsef Kadlecsik |
|---|---|---|---|---|---|---|
| 1/38 | ||||||
| 2/38 | ||||||
| 3/38 | A-b | |||||
| 4/38 | ||||||
| 5/38 | ||||||
| 6/38 | ||||||
| 7/38 | ||||||
| 8/38 | ||||||
| 9/38 | A-b | |||||
| 10/38 | ||||||
| 11/38 | ||||||
| 12/38 | ||||||
| 13/38 | ||||||
| 14/38 | ||||||
| 15/38 | ||||||
| 16/38 | ||||||
| 17/38 | ||||||
| 18/38 | ||||||
| 19/38 | ||||||
| 20/38 | R-b | |||||
| 21/38 | R-b | |||||
| 22/38 | ||||||
| 23/38 | R-b | |||||
| 24/38 | R-b | |||||
| 25/38 | R-b | R-b | ||||
| 26/38 | ||||||
| 27/38 | ||||||
| 28/38 | ||||||
| 29/38 | ||||||
| 30/38 | ||||||
| 31/38 | R-b | |||||
| 32/38 | R-b | |||||
| 33/38 | R-b | |||||
| 34/38 | R-b | |||||
| 35/38 | A-b | |||||
| 36/38 | R-b | |||||
| 37/38 | R-b | |||||
| 38/38 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH 00/38] Netfilter/IPVS updates for net-next
Hi David,
The following patchset contains Netfilter/IPVS updates for net-next, most relevantly they are:
* cleanup to remove double semicolon from stephen hemminger.
* calm down sparse warning in xt_ipcomp, from Fan Du.
* nf_ct_labels support for nf_tables, from Florian Westphal.
* new macros to simplify rcu dereferences in the scope of nfnetlink and nf_tables, from Patrick McHardy.
* Accept queue and drop (including reason for drop) to verdict parsing in nf_tables, also from Patrick.
* Remove unused random seed initialization in nfnetlink_log, from Florian Westphal.
* Allow to attach user-specific information to nf_tables rules, useful to attach user comments to rule, from me.
* Return errors in ipset according to the manpage documentation, from Jozsef Kadlecsik.
* Fix coccinelle warnings related to incorrect bool type usage for ipset, from Fengguang Wu.
* Add hash:ip,mark set type to ipset, from Vytas Dauksa.
* Fix message for each spotted by ipset for each netns that is created, from Ilia Mirkin.
* Add forceadd option to ipset, which evicts a random entry from the set if it becomes full, from Josh Hunt.
* Minor IPVS cleanups and fixes from Andi Kleen and Tingwei Liu.
* Improve conntrack scalability by removing a central spinlock, original work from Eric Dumazet. Jesper Dangaard Brouer took them over to address remaining issues. Several patches to prepare this change come in first place.
* Rework nft_hash to resolve bugs (leaking chain, missing rcu synchronization on element removal, etc. from Patrick McHardy.
* Restore context in the rule deletion path, as we now release rule objects synchronously, from Patrick McHardy. This gets back event notification for anonymous sets.
* Fix NAT family validation in nft_nat, also from Patrick.
* Improve scalability of xt_connlimit by using an array of spinlocks and by introducing a rb-tree of hashtables for faster lookup of accounted objects per network. This patch was preceded by several patches and refactorizations to accomodate this change including the use of kmem_cache, from Florian Westphal.
You can pull these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
These changes should merge cleanly without conflicts to your net-next tree.
Thanks a lot!
----------------------------------------------------------------
The following changes since commit 1e8d6421cff2c24fe0b345711e7a21af02e8bcf5:
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2014-02-19 01:24:22 -0500)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
for you to fetch changes up to 7d08487777c8b30dea34790734d708470faaf1e5:
netfilter: connlimit: use rbtree for per-host conntrack obj storage (2014-03-17 11:11:57 +0100)
----------------------------------------------------------------
Andi Kleen (1):
sections, ipvs: Remove useless __read_mostly for ipvs genl_ops
Fengguang Wu (1):
netfilter: ipset: Add hash: fix coccinelle warnings
Florian Westphal (10):
netfilter: nft_ct: labels get support
netfilter: nfnetlink_log: remove unused code
netfilter: ipset: kernel: uapi: fix MARKMASK attr ABI breakage
netfilter: connlimit: factor hlist search into new function
netfilter: connlimit: improve packet-to-closed-connection logic
netfilter: connlimit: move insertion of new element out of count function
netfilter: connlimit: use kmem_cache for conn objects
netfilter: connlimit: use keyed locks
netfilter: connlimit: make same_source_net signed
netfilter: connlimit: use rbtree for per-host conntrack obj storage
Ilia Mirkin (1):
netfilter: ipset: move registration message to init from net_init
Jesper Dangaard Brouer (5):
netfilter: trivial code cleanup and doc changes
netfilter: conntrack: spinlock per cpu to protect special lists.
netfilter: avoid race with exp->master ct
netfilter: conntrack: seperate expect locking from nf_conntrack_lock
netfilter: conntrack: remove central spinlock nf_conntrack_lock
Joe Perches (1):
netfilter: Convert uses of __constant_<foo> to <foo>
Josh Hunt (1):
netfilter: ipset: add forceadd kernel support for hash set types
Jozsef Kadlecsik (1):
netfilter: ipset: Prepare the kernel for create option flags when no extension is needed
Pablo Neira Ayuso (3):
netfilter: xt_ipcomp: Use ntohs to ease sparse warning
netfilter: nf_tables: add optional user data area to rules Merge git://git.kernel.org/.../horms/ipvs-next
Patrick McHardy (10):
netfilter: ip_set: rename nfnl_dereference()/nfnl_set()
netfilter: nfnetlink: add rcu_dereference_protected() helpers
netfilter: nf_tables: add nft_dereference() macro
netfilter: nf_tables: accept QUEUE/DROP verdict parameters
netfilter: nft_hash: bug fixes and resizing
netfilter: nf_tables: clean up nf_tables_trans_add() argument order
netfilter: nf_tables: restore context for expression destructors
netfilter: nf_tables: restore notifications for anonymous set destruction
netfilter: nft_ct: remove family from struct nft_ct
netfilter: nft_nat: fix family validation
Sergey Popovich (1):
netfilter: ipset: Follow manual page behavior for SET target on list:set
Tingwei Liu (1):
ipvs: Reduce checkpatch noise in ip_vs_lblc.c
Vytas Dauksa (2):
netfilter: ipset: add hash:ip,mark data type to ipset
netfilter: ipset: add markmask for hash:ip,mark data type
stephen hemminger (1):
netfilter: remove double colon
include/linux/netfilter/ipset/ip_set.h | 15 +- include/linux/netfilter/nfnetlink.h | 21 ++ include/net/netfilter/nf_conntrack.h | 11 +- include/net/netfilter/nf_conntrack_core.h | 9 +- include/net/netfilter/nf_conntrack_labels.h | 4 +- include/net/netfilter/nf_tables.h | 28 +- include/net/netns/conntrack.h | 13 +- include/uapi/linux/netfilter/ipset/ip_set.h | 12 + include/uapi/linux/netfilter/nf_tables.h | 6 +- net/ipv4/netfilter.c | 2 +- net/netfilter/ipset/Kconfig | 9 + net/netfilter/ipset/Makefile | 1 + net/netfilter/ipset/ip_set_core.c | 54 ++-- net/netfilter/ipset/ip_set_hash_gen.h | 43 +++ net/netfilter/ipset/ip_set_hash_ip.c | 3 +- net/netfilter/ipset/ip_set_hash_ipmark.c | 321 +++++++++++++++++++ net/netfilter/ipset/ip_set_hash_ipport.c | 3 +- net/netfilter/ipset/ip_set_hash_ipportip.c | 3 +- net/netfilter/ipset/ip_set_hash_ipportnet.c | 3 +- net/netfilter/ipset/ip_set_hash_net.c | 3 +- net/netfilter/ipset/ip_set_hash_netiface.c | 3 +- net/netfilter/ipset/ip_set_hash_netnet.c | 10 +- net/netfilter/ipset/ip_set_hash_netport.c | 3 +- net/netfilter/ipset/ip_set_hash_netportnet.c | 3 +- net/netfilter/ipset/pfxlen.c | 4 +- net/netfilter/ipvs/ip_vs_ctl.c | 2 +- net/netfilter/ipvs/ip_vs_lblc.c | 13 +- net/netfilter/nf_conntrack_core.c | 432 ++++++++++++++++++-------- net/netfilter/nf_conntrack_expect.c | 36 ++- net/netfilter/nf_conntrack_h323_main.c | 4 +- net/netfilter/nf_conntrack_helper.c | 41 ++- net/netfilter/nf_conntrack_netlink.c | 133 ++++---- net/netfilter/nf_conntrack_sip.c | 8 +- net/netfilter/nf_tables_api.c | 80 +++-- net/netfilter/nfnetlink.c | 8 + net/netfilter/nfnetlink_log.c | 8 - net/netfilter/nft_compat.c | 4 +- net/netfilter/nft_ct.c | 36 ++- net/netfilter/nft_hash.c | 260 +++++++++++++--- net/netfilter/nft_immediate.c | 3 +- net/netfilter/nft_log.c | 3 +- net/netfilter/nft_lookup.c | 5 +- net/netfilter/nft_nat.c | 22 +- net/netfilter/xt_AUDIT.c | 4 +- net/netfilter/xt_connlimit.c | 311 ++++++++++++++---- net/netfilter/xt_ipcomp.c | 2 +- 46 files changed, 1527 insertions(+), 475 deletions(-) create mode 100644 net/netfilter/ipset/ip_set_hash_ipmark.c