]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
Merge branch 'bpftool-misc-fixes'
authorDaniel Borkmann <daniel@iogearbox.net>
Thu, 30 Nov 2017 01:09:30 +0000 (02:09 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 30 Nov 2017 01:09:30 +0000 (02:09 +0100)
Quentin Monnet says:

====================
First commit in this series fixes a crash that occurs when incorrect
arguments are passed to bpftool after the `--json` option. It comes from
the usage() function trying to use the JSON writer, although the latter
has not been created yet at that point.

Other patches add destruction of the writer in case the program exits in
usage(), fix error messages handling when an unrecognized option is
encountered, remove a spurious new-line character in an error message.

Last patches are related to the Makefiles. They fix the installation
directory prefix and .PHONY targets.
====================

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>

Trivial merge