Next try, this time with: - commit_mutex instead of dedicated spinlock - Subroutine creation split into separate patches - Separate patch adding reset bit to nft_set_dump_ctx - Improved commit descriptions - Fixed leak in error path added by patch Phil Sutter (8): netfilter: nf_tables: Don't allocate nft_rule_dump_ctx netfilter: nf_tables: Introduce nf_tables_getrule_single() netfilter: nf_tables: Add locking for NFT_MSG_GETRULE_RESET requests netfilter: nf_tables: Introduce struct nft_obj_dump_ctx netfilter: nf_tables: Introduce nf_tables_getobj_single netfilter: nf_tables: Add locking for NFT_MSG_GETOBJ_RESET requests netfilter: nf_tables: Pass reset bit in nft_set_dump_ctx netfilter: nf_tables: Add locking for NFT_MSG_GETSETELEM_RESET requests net/netfilter/nf_tables_api.c | 546 +++++++++++++++++++++++----------- 1 file changed, 371 insertions(+), 175 deletions(-) -- 2.41.0