On 02/14/2019 10:37 PM, Alexei Starovoitov wrote: > On Thu, Feb 14, 2019 at 10:33 AM Eric Leblond <eric@xxxxxxxxx> wrote: >> >> Hello, >> >> On Wed, 2019-02-13 at 20:46 +0100, Eric Leblond wrote: >>> Hello, >>> >>> I've got a simple socket filter program that seems to interrupt when >>> calling the load_word construct. I'm seeing the first message but >>> never >>> the second one. >>> >>> The code is the following >>> >>> int SEC("filter") hashfilter(struct __sk_buff *skb) { >>> __u32 nhoff = BPF_LL_OFF + ETH_HLEN; >> >> So it seems the problem was coming from this line. Removing BPF_LL_OFF >> fixes the problem for kernel starting 4.18. >> >> Is this a known issue ? >> >> Is there something that would allow a BPF file to work independently of >> the kernel version ? > > Daniel, > can this be related to removal of ld_abs legacy ? Hm, strange, I'll take a look. Thanks, Daniel