]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: flowtable: Fix missing flush hardware on table free
authorPaul Blakey <paulb@mellanox.com>
Thu, 30 Jan 2020 16:04:36 +0000 (18:04 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 31 Jan 2020 18:31:41 +0000 (19:31 +0100)
commit98c09d70e9f9373e8a01bdc675c15a22624a18a3
tree063c1dbcf9bc151bb47a85c45dc5b9af67be7ff1
parentd3312466d132e225b09bdab76cf1c21f27976597
netfilter: flowtable: Fix missing flush hardware on table free

If entries exist when freeing a hardware offload enabled table,
we queue work for hardware while running the gc iteration.

Execute it (flush) after queueing.

Fixes: c550be63df75 ("netfilter: nf_flow_table: hardware offload support")
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_core.c