On Thu, Nov 5, 2020 at 3:08 AM Jiri Benc <jbenc@xxxxxxxxxx> wrote: > > On Thu, 5 Nov 2020 11:00:45 +0000, Lorenz Bauer wrote: > > I had a cursory look at bpftool packaging in Debian, Ubuntu and > > Fedora, it seems they all package bpftool in a kernel version > > dependent package. So the most straightforward fix is probably to > > change bpftool to use *mapfd = 0 and then land that via the bpf tree. > > > > What do you think? > > Apparently nobody is using bpftool for this (otherwise someone would > notice), so I'd say go ahead. Might be a good time to switch selftests to use bpftool to attach the flow dissector. I think right now we have a custom binary to do it (mainly because bpftool wasn't available in the selftests when the flow dissector was added).