From: Eric Leblond Date: Thu, 10 Oct 2013 11:41:44 +0000 (+0200) Subject: netfilter: nf_tables: add insert operation X-Git-Tag: v3.13-rc1~105^2~186^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e94846686d027a4c8ecc5d9d52b18036d3e8f7a;p=pandora-kernel.git netfilter: nf_tables: add insert operation This patch adds a new rule attribute NFTA_RULE_POSITION which is used to store the position of a rule relatively to the others. By providing the create command and specifying the position, the rule is inserted after the rule with the handle equal to the provided position. Regarding notification, the position attribute specifies the handle of the previous rule to make sure we don't point to any stale rule in notifications coming from the commit path. This patch includes the following fix from Pablo: * nf_tables: fix rule deletion event reporting Signed-off-by: Eric Leblond Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed