diff options
| author | John Fastabend <[email protected]> | 2018-10-13 00:46:00 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2018-10-15 19:23:19 +0000 |
| commit | 924ad65ed01ee0eec5d2a3280c01c394343d6df7 (patch) | |
| tree | 5e3c0dbaa1cd879581d228024c0497235ce563d9 /tools/bpf/bpftool/prog.c | |
| parent | tls: convert to generic sk_msg interface (diff) | |
| download | kernel-924ad65ed01ee0eec5d2a3280c01c394343d6df7.tar.gz kernel-924ad65ed01ee0eec5d2a3280c01c394343d6df7.zip | |
tls: replace poll implementation with read hook
Instead of re-implementing poll routine use the poll callback to
trigger read from kTLS, we reuse the stream_memory_read callback
which is simpler and achieves the same. This helps to align sockmap
and kTLS so we can more easily embed BPF in kTLS.
Joint work with Daniel.
Signed-off-by: John Fastabend <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
