Subject: Re: [PATCH net-next] bpf, skb_do_redirect: clear sender_cpu before xmit

From: Alexei Starovoitov <[email-masked]>
Date: Wed, 7 Oct 2015 08:46:52 -0700

On 10/7/15 1:16 AM, Daniel Borkmann wrote:
> Similar to commit c29390c6dfee ("xps: must clear sender_cpu before
> forwarding"), we also need to clear the skb->sender_cpu when moving
> from RX to TX via skb_do_redirect() due to the shared location of
> napi_id (used on RX) and sender_cpu (used on TX).
>
> Fixes: 27b29f63058d ("bpf: add bpf_redirect() helper")
> Signed-off-by: Daniel Borkmann<[email-masked]>

Acked-by: Alexei Starovoitov <[email-masked]>

with the amount of skb_sender_cpu_clear() all over the code base
I wonder whether there is a better solution to all of these.