Re: [PATCH bpf] bpftool: Fix errno variable usage

2019-04-25 Thread Alexei Starovoitov
On Thu, Apr 11, 2019 at 12:56 PM Daniel Borkmann wrote: > > On 04/11/2019 10:03 AM, Benjamin Poirier wrote: > > The test meant to use the saved value of errno. Given the current code, it > > makes no practical difference however. > > > > Fixes: bf598a8f0f77 ("bpftool: Improve handling of ENOENT on

Re: [PATCH bpf] bpftool: Fix errno variable usage

2019-04-11 Thread Daniel Borkmann
On 04/11/2019 10:03 AM, Benjamin Poirier wrote: > The test meant to use the saved value of errno. Given the current code, it > makes no practical difference however. > > Fixes: bf598a8f0f77 ("bpftool: Improve handling of ENOENT on map dumps") > Signed-off-by: Benjamin Poirier Applied, thanks!

Re: [PATCH bpf] bpftool: Fix errno variable usage

2019-04-11 Thread Song Liu
On Thu, Apr 11, 2019 at 4:23 AM Quentin Monnet wrote: > > 2019-04-11 17:03 UTC+0900 ~ Benjamin Poirier > > The test meant to use the saved value of errno. Given the current code, it > > makes no practical difference however. > > > > Fixes: bf598a8f0f77 ("bpftool: Improve handling of ENOENT on map

Re: [PATCH bpf] bpftool: Fix errno variable usage

2019-04-11 Thread Quentin Monnet
2019-04-11 17:03 UTC+0900 ~ Benjamin Poirier > The test meant to use the saved value of errno. Given the current code, it > makes no practical difference however. > > Fixes: bf598a8f0f77 ("bpftool: Improve handling of ENOENT on map dumps") > Signed-off-by: Benjamin Poirier > --- > tools/bpf/bpf

[PATCH bpf] bpftool: Fix errno variable usage

2019-04-11 Thread Benjamin Poirier
The test meant to use the saved value of errno. Given the current code, it makes no practical difference however. Fixes: bf598a8f0f77 ("bpftool: Improve handling of ENOENT on map dumps") Signed-off-by: Benjamin Poirier --- tools/bpf/bpftool/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio