Re: [PATCH bpf-next V8 6/8] bpf: make it possible to identify BPF redirected SKBs

2020-12-02 Thread Daniel Borkmann
On 11/27/20 7:06 PM, Jesper Dangaard Brouer wrote: This change makes it possible to identify SKBs that have been redirected by TC-BPF (cls_act). This is needed for a number of cases. (1) For collaborating with driver ifb net_devices. (2) For avoiding starting generic-XDP prog on TC ingress redir

[PATCH bpf-next V8 6/8] bpf: make it possible to identify BPF redirected SKBs

2020-11-27 Thread Jesper Dangaard Brouer
This change makes it possible to identify SKBs that have been redirected by TC-BPF (cls_act). This is needed for a number of cases. (1) For collaborating with driver ifb net_devices. (2) For avoiding starting generic-XDP prog on TC ingress redirect. It is most important to fix XDP case(2), becaus