lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 4 Jun 2015 09:45:13 +0300 From: Or Gerlitz <gerlitz.or@...il.com> To: David Miller <davem@...emloft.net> Cc: Alexei Starovoitov <ast@...mgrid.com>, Daniel Borkmann <daniel@...earbox.net>, Linux Netdev List <netdev@...r.kernel.org> Subject: Re: [PATCH net-next] bpf: introduce bpf_clone_redirect() helper On Thu, Jun 4, 2015 at 6:17 AM, David Miller <davem@...emloft.net> wrote: > From: Alexei Starovoitov <ast@...mgrid.com> > 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 <ast@...mgrid.com> >> Acked-by: Daniel Borkmann <daniel@...earbox.net> > > 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 majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists