Re: [PATCH RFC net-next] net/tls: Implement getsockopt SOL_TLS TLS_RX

2020-08-28 Thread Jakub Kicinski
On Tue, 18 Aug 2020 14:12:24 + Yutaro Hayakawa wrote: > @@ -352,7 +352,11 @@ static int do_tls_getsockopt_tx(struct sock *sk, char > __user *optval, > } > > /* get user crypto info */ > - crypto_info = &ctx->crypto_send.info; > + if (tx) { > + crypto_info = &

Re: [PATCH RFC net-next] net/tls: Implement getsockopt SOL_TLS TLS_RX

2020-08-28 Thread Yutaro Hayakawa
Hello, is there any chance that this patch gets reviewed? Thanks, Yutaro 2020年8月18日(火) 23:12 Yutaro Hayakawa : > > Implement the getsockopt SOL_TLS TLS_RX which is currently missing. The > primary usecase is to use it in conjunction with TCP_REPAIR to > checkpoint/restore the TLS record layer st

[PATCH RFC net-next] net/tls: Implement getsockopt SOL_TLS TLS_RX

2020-08-18 Thread Yutaro Hayakawa
Implement the getsockopt SOL_TLS TLS_RX which is currently missing. The primary usecase is to use it in conjunction with TCP_REPAIR to checkpoint/restore the TLS record layer state. TLS connection state usually exists on the user space library. So basically we can easily extract it from there, but