aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorVlad Buslov <[email protected]>2023-02-01 16:30:58 +0000
committerDavid S. Miller <[email protected]>2023-02-03 09:31:24 +0000
commitd5774cb6c55c8721c2daf57cc5e5345e3af286ea (patch)
tree0cd0643ee3fea90f1f027befb70cf6b14b5a4758 /drivers/net/ethernet/intel/ice/ice_main.c
parentnetfilter: flowtable: cache info of last offload (diff)
downloadkernel-d5774cb6c55c8721c2daf57cc5e5345e3af286ea.tar.gz
kernel-d5774cb6c55c8721c2daf57cc5e5345e3af286ea.zip
net/sched: act_ct: set ctinfo in meta action depending on ct state
Currently tcf_ct_flow_table_fill_actions() function assumes that only established connections can be offloaded and always sets ctinfo to either IP_CT_ESTABLISHED or IP_CT_ESTABLISHED_REPLY strictly based on direction without checking actual connection state. To enable UDP NEW connection offload set the ctinfo, metadata cookie and NF_FLOW_HW_ESTABLISHED flow_offload flags bit based on ct->status value. Signed-off-by: Vlad Buslov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions