diff options
author | 2020-09-28 16:40:47 -0700 | |
---|---|---|
committer | 2020-09-28 16:48:02 -0700 | |
commit | 84a20d8e8795b45e3f1673648d43b4cf0f594359 (patch) | |
tree | ae664a475c782e9d22991f2672eef4b56e4fd72f /scripts/bpf_helpers_doc.py | |
parent | bpf, cpumap: Remove rcpu pointer from cpu_map_build_skb signature (diff) | |
parent | selftest: bpf: Test copying a sockmap and sockhash (diff) | |
download | linux-dev-84a20d8e8795b45e3f1673648d43b4cf0f594359.tar.xz linux-dev-84a20d8e8795b45e3f1673648d43b4cf0f594359.zip |
Merge branch 'Sockmap copying'
Lorenz Bauer says:
====================
Changes in v2:
- Check sk_fullsock in map_update_elem (Martin)
Enable calling map_update_elem on sockmaps from bpf_iter context. This
in turn allows us to copy a sockmap by iterating its elements.
The change itself is tiny, all thanks to the ground work from Martin,
whose series [1] this patch is based on. I updated the tests to do some
copying, and also included two cleanups.
I'm sending this out now rather than when Martin's series has landed
because I hope this can get in before the merge window (potentially)
closes this weekend.
1: https://lore.kernel.org/bpf/20200925000337.3853598-1-kafai@fb.com/
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions