-
- Downloads
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:Vlad Buslov <vladbu@nvidia.com> Signed-off-by:
David 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:
Sasha Levin <sashal@kernel.org>
Showing
- include/net/netfilter/nf_flow_table.h 4 additions, 3 deletionsinclude/net/netfilter/nf_flow_table.h
- net/netfilter/nf_flow_table_inet.c 1 addition, 1 deletionnet/netfilter/nf_flow_table_inet.c
- net/netfilter/nf_flow_table_offload.c 3 additions, 3 deletionsnet/netfilter/nf_flow_table_offload.c
- net/sched/act_ct.c 7 additions, 5 deletionsnet/sched/act_ct.c
Loading
Please register or sign in to comment