summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorJohn Fastabend2018-10-13 02:46:01 +0200
committerAlexei Starovoitov2018-10-15 21:23:19 +0200
commitd3b18ad31f93d0b6bae105c679018a1ba7daa9ca (patch)
tree0bf6b0040a0104aa209bcffc7dd0d8821f11a6b2 /tools/testing
parenttls: replace poll implementation with read hook (diff)
downloadkernel-qcow2-linux-d3b18ad31f93d0b6bae105c679018a1ba7daa9ca.tar.gz
kernel-qcow2-linux-d3b18ad31f93d0b6bae105c679018a1ba7daa9ca.tar.xz
kernel-qcow2-linux-d3b18ad31f93d0b6bae105c679018a1ba7daa9ca.zip
tls: add bpf support to sk_msg handling
This work adds BPF sk_msg verdict program support to kTLS allowing BPF and kTLS to be combined together. Previously kTLS and sk_msg verdict programs were mutually exclusive in the ULP layer which created challenges for the orchestrator when trying to apply TCP based policy, for example. To resolve this, leveraging the work from previous patches that consolidates the use of sk_msg, we can finally enable BPF sk_msg verdict programs so they continue to run after the kTLS socket is created. No change in behavior when kTLS is not used in combination with BPF, the kselftest suite for kTLS also runs successfully. Joint work with Daniel. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions