diff options
author | Alexei Starovoitov <ast@kernel.org> | 2020-02-28 03:50:20 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-02-28 03:53:37 +0100 |
commit | 812285fa5ab129e3a55682314bf235f701564310 (patch) | |
tree | c46fa77ecfc97e4120c02b7a8bd517e635afc7ee /net/dsa | |
parent | bpf: Replace zero-length array with flexible-array member (diff) | |
parent | bpf: inet_diag: Dump bpf_sk_storages in inet_diag_dump() (diff) | |
download | linux-812285fa5ab129e3a55682314bf235f701564310.tar.xz linux-812285fa5ab129e3a55682314bf235f701564310.zip |
Merge branch 'bpf_sk_storage_via_inet_diag'
Martin KaFai Lau says:
====================
The bpf_prog can store specific info to a sk by using bpf_sk_storage.
In other words, a sk can be extended by a bpf_prog.
This series is to support providing bpf_sk_storage data during inet_diag's
dump. The primary target is the usage like iproute2's "ss".
The first two patches are refactoring works in inet_diag to make
adding bpf_sk_storage support easier. The next two patches do
the actual work.
Please see individual patch for details.
v2:
- Add commit message for u16 to u32 change in min_dump_alloc in Patch 4 (Song)
- Add comment to explain the !skb->len check in __inet_diag_dump in Patch 4.
- Do the map->map_type check earlier in Patch 3 for readability.
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions