commit | 924ad65ed01ee0eec5d2a3280c01c394343d6df7 | [log] [tgz] |
---|---|---|
author | John Fastabend <john.fastabend@gmail.com> | Sat Oct 13 02:46:00 2018 +0200 |
committer | Alexei Starovoitov <ast@kernel.org> | Mon Oct 15 12:23:19 2018 -0700 |
tree | 5e3c0dbaa1cd879581d228024c0497235ce563d9 | |
parent | d829e9c4112b52f4f00195900fd4c685f61365ab [diff] |
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 <john.fastabend@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Alexei Starovoitov <ast@kernel.org>