]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bpftool_sockmap'
authorAlexei Starovoitov <ast@kernel.org>
Mon, 15 Oct 2018 23:13:15 +0000 (16:13 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 15 Oct 2018 23:13:15 +0000 (16:13 -0700)
commit0c35c26010653e5302ed2dc24691207d5cfbc89a
treea9e5e822219576241fdd259c52182750a4a267c9
parent6e8aebd5d47e428c47c9872b8d1328b0c8826c60
parent3cbb25e18a86a7966d96494ee28426eab232193d
Merge branch 'bpftool_sockmap'

John Fastabend says:

====================
The first patch adds support for attaching programs to maps. This is
needed to support sock{map|hash} use from bpftool. Currently, I carry
around custom code to do this so doing it using standard bpftool will
be great.

The second patch adds a compat mode to ignore non-zero entries in
the map def. This allows using bpftool with maps that have a extra
fields that the user knows can be ignored. This is needed to work
correctly with maps being loaded by other tools or directly via
syscalls.

v3: add bash completion and doc updates for --mapcompat
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>