summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPaul Blakey <paulb@nvidia.com>2022-02-28 12:23:49 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2022-03-02 00:08:31 +0300
commitdb6140e5e35a48405e669353bd54042c1d4c3841 (patch)
tree75cd5808538a49d12710b3cfc9170e08bbc5f8f8 /include/linux
parent3b836da4081fa585cf6c392f62557496f2cb0efe (diff)
downloadlinux-db6140e5e35a48405e669353bd54042c1d4c3841.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions