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

2020-09-01 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

[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

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

2020-08-30 Thread Yutaro Hayakawa
Apology. Kernel Test Robot just pointed out that the v2 patch has a compilation error. My local compilation tests have passed because I didn't enable the kTLS kernel option. Let me resubmit the fixed version soon. Yutaro 2020年8月30日(日) 23:02 Yutaro Hayakawa : > > From: Yuta

[PATCH RFC v2 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

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

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

2020-08-18 Thread Yutaro Hayakawa
-proxies-without-the-pain [2] https://github.com/eduardsui/tlse Signed-off-by: Yutaro Hayakawa --- net/tls/tls_main.c | 50 +- 1 file changed, 36 insertions(+), 14 deletions(-) diff --git a/net/tls/tls_main.c b/net/tls/tls_main.c index bbc52b088d29