Skip to content
Snippets Groups Projects
Commit 8b719936 authored by Vlad Buslov's avatar Vlad Buslov Committed by Frieder Schrempf
Browse files

netfilter: flowtable: cache info of last offload


[ Upstream commit 1a441a9b ]

Modify flow table offload to cache the last ct info status that was passed
to the driver offload callbacks by extending enum nf_flow_flags with new
"NF_FLOW_HW_ESTABLISHED" flag. Set the flag if ctinfo was 'established'
during last act_ct meta actions fill call. This infrastructure change is
necessary to optimize promoting of UDP connections from 'new' to
'established' in following patches in this series.

Signed-off-by: default avatarVlad Buslov <vladbu@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 125f1c7f ("net/sched: act_ct: Take per-cb reference to tcf_ct_flow_table")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f78c3146
1 merge request!123🤖 Sync Bot: Update v6.1-ktn to Latest Stable Kernel (v6.1.72)
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment