]> 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)
commitb75af37bb4b31280fa131396086af6bc5f97c7de
tree063c1dbcf9bc151bb47a85c45dc5b9af67be7ff1
parent6bf834ed9a22683e1cb44e1101d8bd8387239e95
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: 3029814930c4 ("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