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>
This commit is contained in:

committed by
David S. Miller

parent
61ef6da622
commit
6d88207fcf
@@ -83,6 +83,8 @@ struct tls_context {
|
||||
|
||||
void *priv_ctx;
|
||||
|
||||
u8 tx_conf:2;
|
||||
|
||||
u16 prepend_size;
|
||||
u16 tag_size;
|
||||
u16 overhead_size;
|
||||
|
Reference in New Issue
Block a user