diff options
author | Paul Blakey <paulb@mellanox.com> | 2020-03-19 12:52:25 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-03-19 23:05:30 +0300 |
commit | c921ffe853332584eae4f5905cb2a14a7b3c9932 (patch) | |
tree | 6939b433bbcecd8d5c0a85d20ae4a901b674dc68 /net/psample | |
parent | 41e9ec5a54f95eee1a57c8d26ab70e0492548c1b (diff) | |
download | linux-c921ffe853332584eae4f5905cb2a14a7b3c9932.tar.xz |
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 'net/psample')
0 files changed, 0 insertions, 0 deletions