]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: act_ct: Support refreshing the flow table entries
authorPaul Blakey <paulb@mellanox.com>
Thu, 12 Mar 2020 10:23:08 +0000 (12:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Mar 2020 22:00:39 +0000 (15:00 -0700)
commit7595bc38e0283c3edf11d478954df024f2081fbe
tree7a9fce3f6028080e0375163d11604ef5f73203d1
parent17599b36f7651e2c8e27811bae36a0fa9c922450
net/sched: act_ct: Support refreshing the flow table entries

If driver deleted an FT entry, a FT failed to offload, or registered to the
flow table after flows were already added, we still get packets in
software.

For those packets, while restoring the ct state from the flow table
entry, refresh it's hardware offload.

Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_flow_table.h
net/netfilter/nf_flow_table_core.c
net/netfilter/nf_flow_table_ip.c
net/sched/act_ct.c