[RFC TLS Offload Support 05/15] tcp: Add TLS socket options for TCP sockets

2017-03-28 Thread Aviad Yehezkel
This patch adds TLS_TX and TLS_RX TCP socket options. Setting these socket options will change the sk->sk_prot operations of the TCP socket. The user is responsible to prevent races between calls to the previous operations and the new operations. After successful return, data sent on this socket w

Re: [RFC TLS Offload Support 05/15] tcp: Add TLS socket options for TCP sockets

2017-03-28 Thread Tom Herbert
On Tue, Mar 28, 2017 at 6:26 AM, Aviad Yehezkel wrote: > This patch adds TLS_TX and TLS_RX TCP socket options. > > Setting these socket options will change the sk->sk_prot > operations of the TCP socket. The user is responsible to > prevent races between calls to the previous operations > and the