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

2020-08-31 Thread Jakub Kicinski
On Mon, 31 Aug 2020 04:07:13 +0900 Yutaro Hayakawa wrote: > From: 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

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

2020-08-30 Thread Yutaro Hayakawa
From: 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 ex