diff options
author | 2020-03-19 11:52:25 +0200 | |
---|---|---|
committer | 2020-03-19 21:05:30 +0100 | |
commit | c921ffe853332584eae4f5905cb2a14a7b3c9932 (patch) | |
tree | 6939b433bbcecd8d5c0a85d20ae4a901b674dc68 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: flowtable: reload ip{v6}h in nf_flow_tuple_ip{v6} (diff) | |
download | wireguard-linux-c921ffe853332584eae4f5905cb2a14a7b3c9932.tar.xz wireguard-linux-c921ffe853332584eae4f5905cb2a14a7b3c9932.zip |
netfilter: flowtable: Fix flushing of offloaded flows on free
Freeing a flowtable with offloaded flows, the flow are deleted from
hardware but are not deleted from the flow table, leaking them,
and leaving their offload bit on.
Add a second pass of the disabled gc to delete the these flows from
the flow table before freeing it.
Fixes: c29f74e0df7a ("netfilter: nf_flow_table: hardware offload support")
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions