On Thu, Jul 19, 2018 at 6:03 AM Paolo Abeni <pab...@redhat.com> wrote: > > This is similar TC_ACT_REDIRECT, but with a slightly different > semantic: > - on ingress the mirred skbs are passed to the target device > network stack without any additional check not scrubbing. > - the rcu-protected stats provided via the tcf_result struct > are updated on error conditions.
At least its name sucks, it means to skip the skb_clone(), that is avoid a copy, but you still call it MIRRED... MIRRED means MIRror and REDirect. Also, I don't understand why this new TC_ACT code needs to be visible to user-space, whether to clone or not is purely internal.