diff options
author | Ilya Lesokhin <ilyal@mellanox.com> | 2017-11-13 11:22:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-05 21:41:10 +0300 |
commit | 25f03991a5210f31491e1e2fccec7cf0d080772e (patch) | |
tree | 98d0f808fb6b3a2107926dae522bb0501c9916e0 /include | |
parent | 83b570c004da47b51d7417ac18d8491d9fc91420 (diff) | |
download | linux-25f03991a5210f31491e1e2fccec7cf0d080772e.tar.xz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/tls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/tls.h b/include/net/tls.h index 86ed3dd80fe7..0c3ab2af74d3 100644 --- a/include/net/tls.h +++ b/include/net/tls.h @@ -89,6 +89,8 @@ struct tls_context { void *priv_ctx; + u8 tx_conf:2; + u16 prepend_size; u16 tag_size; u16 overhead_size; |