Re: [RFC v2 PATCH 0/4] eBPF and struct scatterlist

2018-06-25 Thread Tushar Dave
On 06/19/2018 11:00 AM, Tushar Dave wrote: This follows up on https://patchwork.ozlabs.org/cover/927050/ where the review feedback was to use bpf_skb_load_bytes() to deal with linear and non-linear skbs. While that feedback is valid and correct, the motivation for this work is to allow eBPF

[RFC v2 PATCH 0/4] eBPF and struct scatterlist

2018-06-19 Thread Tushar Dave
This follows up on https://patchwork.ozlabs.org/cover/927050/ where the review feedback was to use bpf_skb_load_bytes() to deal with linear and non-linear skbs. While that feedback is valid and correct, the motivation for this work is to allow eBPF based firewalling for kernel modules that do not