This patch series fixes nft_set_hash and nft_set_rbtree bugs. First patch adds rcu_barrier in the nft_rhash_destroy() to wait completion of call_rcu by GC. Second patch fixes bugs in nft_set_rbtree.c - add null check routine - add rcu_barrier in destroy routine Last patch adds default set->size value. - all types of set have 65535 as default size. V2: - Drops patch "netfilter: nft_set_hash: fix panic when destroying set". Requested by Florian Westphal - Do not add interval check routine in nft_set_rbtree. Requested by Pablo Neira Ayuso - Add default set->size value instead add check set->size routine. Requested by Florian Westphal Taehee Yoo (3): netfilter: nft_set_hash: add rcu_barrier() in the nft_rhash_destroy() netfilter: nft_set_rbtree: fix panic when destroying set by GC netfilter: nf_tables: add default set size net/netfilter/nf_tables_api.c | 13 ++++++++----- net/netfilter/nft_dynset.c | 6 +----- net/netfilter/nft_set_hash.c | 1 + net/netfilter/nft_set_rbtree.c | 9 ++++++--- 4 files changed, 16 insertions(+), 13 deletions(-) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html