Re: [PATCH bpf] tools/bpftool: fix attaching flow dissector

2020-11-05 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf.git (refs/heads/master): On Thu, 5 Nov 2020 11:52:30 + you wrote: > My earlier patch to reject non-zero arguments to flow dissector attach > broke attaching via bpftool. Instead of 0 it uses -1 for target_fd. > Fix this by passing a zero argument when

Re: [PATCH bpf] tools/bpftool: fix attaching flow dissector

2020-11-05 Thread Song Liu
On Thu, Nov 5, 2020 at 3:54 AM Lorenz Bauer wrote: > > My earlier patch to reject non-zero arguments to flow dissector attach > broke attaching via bpftool. Instead of 0 it uses -1 for target_fd. > Fix this by passing a zero argument when attaching the flow dissector. > > Fixes: 1b514239e859 ("bpf

[PATCH bpf] tools/bpftool: fix attaching flow dissector

2020-11-05 Thread Lorenz Bauer
My earlier patch to reject non-zero arguments to flow dissector attach broke attaching via bpftool. Instead of 0 it uses -1 for target_fd. Fix this by passing a zero argument when attaching the flow dissector. Fixes: 1b514239e859 ("bpf: flow_dissector: Check value of unused flags to BPF_PROG_ATTA