]> git.proxmox.com Git - mirror_iproute2.git/commit - lib/bpf.c
tc: {m, f}_ebpf: add option for dumping verifier log
authorDaniel Borkmann <daniel@iogearbox.net>
Tue, 28 Apr 2015 11:37:42 +0000 (13:37 +0200)
committerStephen Hemminger <shemming@brocade.com>
Mon, 4 May 2015 15:43:08 +0000 (08:43 -0700)
commitd937a74b6d7818d67b12f2439320bfddcdd35e58
treed1a8ead0ad7d55da8cb72acd7ac2dd6c0b2cc3d0
parentd7bd2db52c1fcfe5159dda101f786020e8304820
tc: {m, f}_ebpf: add option for dumping verifier log

Currently, only on error we get a log dump, but I found it useful when
working with eBPF to have an option to also dump the log on success.
Also spotted a typo in a header comment, which is fixed here as well.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
tc/f_bpf.c
tc/m_bpf.c
tc/tc_bpf.c
tc/tc_bpf.h