[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e00a163d-4574-1908-54ec-2b7c5d69508b@netronome.com>
Date: Thu, 23 Aug 2018 18:48:25 +0100
From: Quentin Monnet <quentin.monnet@...ronome.com>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
Daniel Borkmann <daniel@...earbox.net>,
Alexei Starovoitov <ast@...nel.org>
Cc: Jakub Kicinski <jakub.kicinski@...ronome.com>,
netdev@...r.kernel.org, oss-drivers@...ronome.com
Subject: Re: [PATCH bpf] tools: bpftool: return from do_event_pipe() on bad
arguments
2018-08-23 20:35 UTC+0300 ~ Sergei Shtylyov
<sergei.shtylyov@...entembedded.com>
> Hello!
>
> On 08/23/2018 07:46 PM, Quentin Monnet wrote:
>
>> When command line parsing fails in the while loop in do_event_pipe()
>> because the number of arguments is incorrect or because the keyword is
>> unknown, an error message is displayed, but bpfool
>
> bp-who? ;-)
>
>> remains stucked in
>
> Stuck.
>
>> the loop. Make sure we exit the loop upon failure.
>>
>> Fixes: f412eed9dfde ("tools: bpftool: add simple perf event output reader")
>> Signed-off-by: Quentin Monnet <quentin.monnet@...ronome.com>
>> Reviewed-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
> [...]
>
> MBR, Sergei
Thanks Sergei! The patch has been applied so I cannot fix these, but
I'll make sure to give an additional pass to my future commit logsā¦
Best,
Quentin
Powered by blists - more mailing lists