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 protected]>
Acked-by: Alexei Starovoitov <[email protected]> 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. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
