tls: Add function to update the TLS socket configuration
authorIlya Lesokhin <ilyal@mellanox.com>
Mon, 13 Nov 2017 08:22:45 +0000 (10:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Nov 2017 07:26:34 +0000 (16:26 +0900)
commit6d88207fcfddc002afe3e2e4a455e5201089d5d9
tree0dc92897c5bb2e06890eeae311feacbd3293a468
parent61ef6da622aa7b66bf92991bd272490eea6c712e
tls: Add function to update the TLS socket configuration

The tx configuration is now stored in ctx->tx_conf.
And sk->sk_prot is updated trough a function
This will simplify things when we add rx
and support for different possible
tx and rx cross configurations.

Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tls.h
net/tls/tls_main.c