Re: [PATCH v2 1/2] net: nftables: Simplify set backend selection

2018-04-26 Thread Pablo Neira Ayuso
On Tue, Apr 03, 2018 at 11:15:39PM +0200, Phil Sutter wrote: > Drop nft_set_type's ability to act as a container of multiple backend > implementations it chooses from. Instead consolidate the whole selection > logic in nft_select_set_ops() and the actual backend provided estimate() > callback. > >

[PATCH v2 1/2] net: nftables: Simplify set backend selection

2018-04-03 Thread Phil Sutter
Drop nft_set_type's ability to act as a container of multiple backend implementations it chooses from. Instead consolidate the whole selection logic in nft_select_set_ops() and the actual backend provided estimate() callback. This turns nf_tables_set_types into a list containing all available back