From: Arturo Borrero Date: Tue, 2 Sep 2014 14:42:21 +0000 (+0200) Subject: netfilter: nf_tables: refactor rule deletion helper X-Git-Tag: fixes-against-v3.18-rc2~81^2~101^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e266fe7c046b107496a338839cfb6008aeddbd8;p=pandora-kernel.git netfilter: nf_tables: refactor rule deletion helper This helper function always schedule the rule to be removed in the following transaction. In follow-up patches, it is interesting to handle separately the logic of rule activation/disactivation from the transaction mechanism. So, this patch simply splits the original nf_tables_delrule_one() in two functions, allowing further control. While at it, for the sake of homigeneize the function naming scheme, let's rename nf_tables_delrule_one() to nft_delrule(). Signed-off-by: Arturo Borrero Gonzalez Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed