On Thu, Jun 4, 2015 at 6:17 AM, David Miller <[email protected]> wrote:
> From: Alexei Starovoitov <[email protected]>
> Date: Tue,  2 Jun 2015 16:03:14 -0700
>
>> Allow eBPF programs attached to classifier/actions to call
>> bpf_clone_redirect(skb, ifindex, flags) helper which will
>> mirror or redirect the packet by dynamic ifindex selection
>> from within the program to a target device either at ingress
>> or at egress. Can be used for various scenarios, for example,
>> to load balance skbs into veths, split parts of the traffic
>> to local taps, etc.
>>
>> Signed-off-by: Alexei Starovoitov <[email protected]>
>> Acked-by: Daniel Borkmann <[email protected]>
>
> Applied, thanks.

build fails on my setup...

CC [M]  net/core/pktgen.o
net/core/filter.c: In function 'bpf_clone_redirect':
net/core/filter.c:1429: error: 'struct sk_buff' has no member named 'tc_verd'

you use skb->tc_verd but this code snippest goes along without being
dependent on CONFIG_NET_CLS_ACT
--
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

Reply via email to