]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 18:41:10 +0000 (19:41 +0100)
commit25f03991a5210f31491e1e2fccec7cf0d080772e
tree98d0f808fb6b3a2107926dae522bb0501c9916e0
parent83b570c004da47b51d7417ac18d8491d9fc91420
tls: Add function to update the TLS socket configuration

commit 6d88207fcfddc002afe3e2e4a455e5201089d5d9 upstream.

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>
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/tls.h
net/tls/tls_main.c