aboutsummaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorQuentin Monnet <[email protected]>2018-08-23 17:46:25 +0100
committerDaniel Borkmann <[email protected]>2018-08-23 20:17:57 +0200
commit785e76d7a2051a9e28b9134d5388a45b16f5eb72 (patch)
treee1980af4eeb23ce968466601262e889b41bc3fed /net/lapb
parentc0203475765f827e7b2eaf0a87222d0766e2cc4b (diff)
tools: bpftool: return from do_event_pipe() on bad arguments
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 bpftool remains stuck in 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 <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions