summaryrefslogtreecommitdiffstats
path: root/drivers/vme
diff options
context:
space:
mode:
authorPaul Blakey <paulb@nvidia.com>2022-02-28 10:23:49 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2022-03-01 22:08:31 +0100
commitdb6140e5e35a48405e669353bd54042c1d4c3841 (patch)
tree75cd5808538a49d12710b3cfc9170e08bbc5f8f8 /drivers/vme
parentnetfilter: nf_queue: handle socket prefetch (diff)
downloadlinux-db6140e5e35a48405e669353bd54042c1d4c3841.tar.xz
linux-db6140e5e35a48405e669353bd54042c1d4c3841.zip
net/sched: act_ct: Fix flow table lookup failure with no originating ifindex
After cited commit optimizted hw insertion, flow table entries are populated with ifindex information which was intended to only be used for HW offload. This tuple ifindex is hashed in the flow table key, so it must be filled for lookup to be successful. But tuple ifindex is only relevant for the netfilter flowtables (nft), so it's not filled in act_ct flow table lookup, resulting in lookup failure, and no SW offload and no offload teardown for TCP connection FIN/RST packets. To fix this, add new tc ifindex field to tuple, which will only be used for offloading, not for lookup, as it will not be part of the tuple hash. Fixes: 9795ded7f924 ("net/sched: act_ct: Fill offloading tuple iifidx") Signed-off-by: Paul Blakey <paulb@nvidia.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions