netfilter: nf_tables: fix missing rules flushing per table
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 24 Nov 2013 19:39:10 +0000 (20:39 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 7 Dec 2013 21:55:48 +0000 (22:55 +0100)
commitcf9dc09d0949f0b5953fb08caa10bba0dc7ee71f
tree87287d9503fcd06250657358b9036fbafa7a1b81
parentb4ef4ce09308955d1aa54a289c0162607b3aa16c
netfilter: nf_tables: fix missing rules flushing per table

This patch allows you to atomically remove all rules stored in
a table via the NFT_MSG_DELRULE command. You only need to indicate
the specific table and no chain to flush all rules stored in that
table.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c