Re: [PATCH bpf-next v2 4/8] tls: convert to generic sk_msg interface

2018-10-17 Thread Daniel Borkmann
On 10/17/2018 04:55 PM, Eric Dumazet wrote: > On 10/12/2018 05:45 PM, Daniel Borkmann wrote: >> Convert kTLS over to make use of sk_msg interface for plaintext and >> encrypted scattergather data, so it reuses all the sk_msg helpers >> and data structure which later on in a second step enables to

Re: [PATCH bpf-next v2 4/8] tls: convert to generic sk_msg interface

2018-10-17 Thread Eric Dumazet
On 10/12/2018 05:45 PM, Daniel Borkmann wrote: > Convert kTLS over to make use of sk_msg interface for plaintext and > encrypted scattergather data, so it reuses all the sk_msg helpers > and data structure which later on in a second step enables to glue > this to BPF. > > This also allows to

[PATCH bpf-next v2 4/8] tls: convert to generic sk_msg interface

2018-10-12 Thread Daniel Borkmann
Convert kTLS over to make use of sk_msg interface for plaintext and encrypted scattergather data, so it reuses all the sk_msg helpers and data structure which later on in a second step enables to glue this to BPF. This also allows to remove quite a bit of open coded helpers which are covered by