diff options
author | Wentao Jia <wentao.jia@corigine.com> | 2023-03-14 08:36:07 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-03-15 22:16:22 -0700 |
commit | 0b8d953cce26287a7f5eb78ff49496e9836c88ed (patch) | |
tree | d66f9f893bc0c2d46a5f0edc5c46a3785813fad3 /net/unix/af_unix.c | |
parent | cee7b339d806f71df611087724ddfbaad2d8f8b7 (diff) |
nfp: flower: refactor function "is_post_ct_flow"
'ct_clear' action only or no ct action is supported for 'post_ct_flow'.
But in scenario of multiple ct zones, one non 'ct_clear' ct action or
more ct actions, including 'ct_clear action', may be present in one flow
rule. If ct state match key is 'ct_established', the flow rule is still
expected to be classified as 'post_ct_flow'. Check ct status first in
function "is_post_ct_flow" to achieve this.
Signed-off-by: Wentao Jia <wentao.jia@corigine.com>
Acked-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions