aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorPaul Blakey <[email protected]>2021-05-26 14:44:09 +0300
committerJakub Kicinski <[email protected]>2021-05-27 14:54:14 -0700
commit0cc254e5aa37cf05f65bcdcdc0ac5c58010feb33 (patch)
treed83551b6230c4f7e92276c09ff1533c43903eb01 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentb28d8f0c25a9b0355116cace5f53ea52bd4020c8 (diff)
net/sched: act_ct: Offload connections with commit action
Currently established connections are not offloaded if the filter has a "ct commit" action. This behavior will not offload connections of the following scenario: $ tc_filter add dev $DEV ingress protocol ip prio 1 flower \ ct_state -trk \ action ct commit action goto chain 1 $ tc_filter add dev $DEV ingress protocol ip chain 1 prio 1 flower \ action mirred egress redirect dev $DEV2 $ tc_filter add dev $DEV2 ingress protocol ip prio 1 flower \ action ct commit action goto chain 1 $ tc_filter add dev $DEV2 ingress protocol ip prio 1 chain 1 flower \ ct_state +trk+est \ action mirred egress redirect dev $DEV Offload established connections, regardless of the commit flag. Fixes: 46475bb20f4b ("net/sched: act_ct: Software offload of established flows") Reviewed-by: Oz Shlomo <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Acked-by: Marcelo Ricardo Leitner <[email protected]> Signed-off-by: Paul Blakey <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions