diff options
author | Tony Lindgren <tony@atomide.com> | 2020-12-18 10:15:12 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2020-12-18 10:15:12 +0300 |
commit | 500050f0d28868af302a3c24d7d1d0191521286e (patch) | |
tree | 7c4366836fcf5c7d7be4292f60d76876b3c463a0 /tools/bpf/bpftool/prog.c | |
parent | c0bc969c176b10598b31d5d1a5edf9a5261f0a9f (diff) | |
parent | 6efac0173cd15460b48c91e1b0a000379f341f00 (diff) | |
download | linux-500050f0d28868af302a3c24d7d1d0191521286e.tar.xz |
Merge branch 'fixes-omap3' into fixes
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
-rw-r--r-- | tools/bpf/bpftool/prog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/prog.c b/tools/bpf/bpftool/prog.c index d942c1e3372c..acdb2c245f0a 100644 --- a/tools/bpf/bpftool/prog.c +++ b/tools/bpf/bpftool/prog.c @@ -940,7 +940,7 @@ static int parse_attach_detach_args(int argc, char **argv, int *progfd, } if (*attach_type == BPF_FLOW_DISSECTOR) { - *mapfd = -1; + *mapfd = 0; return 0; } |