Pablo Neira Ayuso b408c5b04f netfilter: nf_tables: fix flowtable free
Every flow_offload entry is added into the table twice. Because of this,
rhashtable_free_and_destroy can't be used, since it would call kfree for
each flow_offload object twice.

This patch cleans up the flowtable via nf_flow_table_iterate() to
schedule removal of entries by setting on the dying bit, then there is
an explicitly invocation of the garbage collector to release resources.

Based on patch from Felix Fietkau.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2018-02-07 00:58:57 +01:00
..
2017-11-01 12:19:03 +09:00
2017-11-27 16:20:04 -05:00
2017-11-27 16:20:04 -05:00
2017-11-08 16:12:33 +09:00
2017-11-27 16:20:04 -05:00
2018-01-30 19:03:48 -08:00