diff options
author | 2020-10-02 15:18:40 -0700 | |
---|---|---|
committer | 2020-10-02 15:18:40 -0700 | |
commit | fb91db01c652ba9391f67c21db2d5260448b3efd (patch) | |
tree | 0e3b71801ce68631955667e30bcf1b317d9e80e9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'bpf: BTF support for ksyms' (diff) | |
parent | bpf, sockmap: Update selftests to use skb_adjust_room (diff) | |
download | wireguard-linux-fb91db01c652ba9391f67c21db2d5260448b3efd.tar.xz wireguard-linux-fb91db01c652ba9391f67c21db2d5260448b3efd.zip |
Merge branch 'Add skb_adjust_room() for SK_SKB'
John Fastabend says:
====================
This implements the helper skb_adjust_room() for BPF_SKS_SK_STREAM_VERDICT
programs so we can push/pop headers from the data on recieve. One use
case is to pop TLS headers off kTLS packets.
The first patch implements the helper and the second updates test_sockmap
to use it removing some case handling we had to do earlier to account for
the TLS headers in the kTLS tests.
v1->v2:
Fix error path for TLS case (Daniel)
check mode input is 0 because we don't use it now (Daniel)
Remove incorrect/misleading comment (Lorenz)
Thanks,
John
Acked-by: Martin KaFai Lau <kafai@fb.com>
---
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions