Home
last modified time | relevance | path

Searched hist:d5774cb6c55c8721c2daf57cc5e5345e3af286ea (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/sched/
H A Dact_ct.cdiff d5774cb6c55c8721c2daf57cc5e5345e3af286ea Wed Feb 01 10:30:58 CST 2023 Vlad Buslov <vladbu@nvidia.com> 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 <vladbu@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>