OSDN Git Service

Merge branch 'bpf-fix-bitfield-printing'
authorDaniel Borkmann <daniel@iogearbox.net>
Fri, 11 Jan 2019 09:40:55 +0000 (10:40 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 11 Jan 2019 09:40:56 +0000 (10:40 +0100)
commitfb4129b9279dc40be51060004e8f5e4b360739b8
tree8702529ada7e857caa223af4c4523d5c2e58cb59
parentbeaf3d1901f4ea46fbd5c9d857227d99751de469
parent298e59d322954e89ed2a556c601a04a4c007d1b3
Merge branch 'bpf-fix-bitfield-printing'

Yonghong Song says:

====================
The previous BTF kind_flag support patch set introduced a bug
for kernel bpffs pretty printing and another bug for bpftool
map pretty printing. If a bitfield struct member offset is
greater than 256 bits, printed value for that struct
member will be incorrect.

- Patch #1 fixed the bug in kernel bpffs pretty printing.
- Patch #2 enhanced the test_btf test case to cover the
           issue exposed by patch #1.
- Patch #3 fixed the bug in bpftool map pretty printing.
====================

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