]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
commitd775a418ac45fc2eb3eec1a4897e23e915eb4b3c
treefa55e234acf1c6bf1d4d96ed2d24de86792178d8
parenta39e17b2d842938e19997d2fdc0443fdd4cd8d10
parentad3cda064402b69148faf5f7cd1ac8c2eee52645
Merge branch 'bpftool-misc-fixes'

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>